Class Index | File Index

Classes


Class adf.ImageToolbar


Extends adf.Toolbar.

Defined in: Toolbar.js.

Class Summary
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 Summary
Method Attributes Method Name and Description
 
addToolItem(toolItem)
Adds 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
 
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

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