Class adf.ImageToolbar
Extends
adf.Toolbar.
Defined in: Toolbar.js.
Constructor Attributes | Constructor Name and Description |
---|---|
adf.ImageToolbar(id, container, mapId)
Creates a toolbar with tool items displayed as images/icons
|
- 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 Attributes | Method Name and Description |
---|---|
addToolItem(toolItem)
Adds tool item to 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
|
|
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
|
|
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
|
|
setToolItemActive(toolId)
Activate tool item with argument toolId
|
|
setToolItemDisabled(toolId)
Disables tool item with argument toolId
|
|
setToolItemInactive(toolId)
Deactivates 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.ImageToolbar(id, container, mapId)
Creates a toolbar with tool items displayed as images/icons
- Parameters:
- {String} id
- Toolbar control's id. Maps to the JSF toolbar tag's id attribute
- {DOMElement} 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
Method Detail
addToolItem(toolItem)
Adds tool item to toolbar
- Parameters:
- 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
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
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
setToolItemActive(toolId)
Activate tool item with argument toolId
- Parameters:
- 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)
Deactivates tool item with argument toolId
- Parameters:
- toolId
- The toolid of the toolitem that will be de-activated by this method