Class Index | File Index

Classes


Class adf.ImageAndTextToolbar


Extends adf.Toolbar.

Defined in: Toolbar.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
adf.ImageAndTextToolbar(id, container, mapId)
Creates a toolbar with tool items displayed as combination of text an images
Field Summary
Field Attributes Field Name and Description
 
This property is used to set content alignment within div.
 
This property is used to set image alignment within cell.
 
This property is used to set text alignment with cell.
 
This property is used to set the text position relative to the image.
Fields borrowed from class adf.Toolbar:
divId, mapId, orientation, ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL, table, tableBody, tableId, TOOL_ITEM_CONTAINER_ID_PREFIX, toolItemNames, toolItems, type
Fields borrowed from class adf.Control:
bounds, divObject, id, updateListenerNames, updateListeners
Method Summary
Method Attributes Method Name and Description
 
addToolItem(toolItem)
Add tool item to toolbar
 
Process mouse click on tool item cell This Eventhandler is called when the mouse is clicked on the toolitem's cell in the toolbar
 
Process mouse out on tool item cell This Eventhandler is called when the mouse moves out of the toolitem's cell in the toolbar
 
Process mouse over on tool item cell This Eventhandler is called when the mouse hovers over the toolitem's cell in the toolbar
 
Activate tool item with argument toolId
 
Disables tool item with argument toolId
 
Activate tool item with argument toolId
Methods borrowed from class adf.Toolbar:
addImageSeparator, addSeparator, getNextToolbarCell, getToolId, getToolItemContainerId, init, updateAsync
Methods borrowed from class adf.Control:
addUpdateListener, removeUpdateListener
Methods borrowed from class adf.PageElement:
hide, resize, show
Class Detail
adf.ImageAndTextToolbar(id, container, mapId)
Creates a toolbar with tool items displayed as combination of text an images
Parameters:
{String} id
Toolbar control's id. Maps to the JSF toolbar tag's id attribute
{DOMNode} container
Container within which to render the toolbar
{String} mapId
Id of map control that this toolbar is bound to. Maps to the JSF toolbar tag's mapId attribute
Field Detail
{String} divAlign
This property is used to set content alignment within div.
Default Value:
"CENTER"

{String} imgAlign
This property is used to set image alignment within cell.
Default Value:
"CENTER"

{String} textAlign
This property is used to set text alignment with cell.
Default Value:
"CENTER"

{String} textPos
This property is used to set the text position relative to the image.
Default Value:
"RIGHT"
Method Detail
addToolItem(toolItem)
Add tool item to toolbar
Parameters:
{adf.ToolItem} toolItem
The toolitem to add to the toolbar

processMouseClick(event)
Process mouse click on tool item cell This Eventhandler is called when the mouse is clicked on the toolitem's cell in the toolbar
Parameters:
{Event} event

processMouseOut(event)
Process mouse out on tool item cell This Eventhandler is called when the mouse moves out of the toolitem's cell in the toolbar
Parameters:
{Event} event

processMouseOver(event)
Process mouse over on tool item cell This Eventhandler is called when the mouse hovers over the toolitem's cell in the toolbar
Parameters:
{Event} event

setToolItemActive(toolId)
Activate tool item with argument toolId
Parameters:
{String} toolId
The toolid of the toolitem that will be activated by this method

setToolItemDisabled(toolId)
Disables tool item with argument toolId
Parameters:
toolId
The toolid of the toolitem that will be disabled by this method

setToolItemInactive(toolId)
Activate tool item with argument toolId
Parameters:
{String} toolId
The toolid of the toolitem that will be activated by this method

Documentation generated by JsDoc Toolkit 2.1.0 on Mon May 17 2010 13:45:42 GMT-0700 (PDT)