Class Index | File Index

Classes


Class adf.MapMouseWheel


Extends adf.MapToolItem.

Defined in: MapToolItem.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
adf.MapMouseWheel(id, toolName)
This ToolItem uses the adf.MouseWheelAction to zoom in/out using the mouse wheel.
Field Summary
Field Attributes Field Name and Description
 
The adf.Action associated with the ToolItem
 
id
The id of the ToolItem
 
The name of the ToolItem
Fields borrowed from class adf.MapToolItem:
blockMapPan, blockMapZoom, control
Fields borrowed from class adf.ToolItem:
clientPostBack, defaultImage, defaultStyle, disabledImage, disabledStyle, element, hoverImage, hoverStyle, isActive, isCommand, isDisabled, isMarker, selectedImage, selectedStyle, showLoading, toolTip
Method Summary
Method Attributes Method Name and Description
 
Activates the ToolItem and it's associated adf.MouseWheelAction
 
postAction(value)
This function is called when when a browser's mouse wheel event is fired.
Methods borrowed from class adf.MapToolItem:
deactivate
Class Detail
adf.MapMouseWheel(id, toolName)
This ToolItem uses the adf.MouseWheelAction to zoom in/out using the mouse wheel. The adf.ToolItem#clientPostBack determines whether the request to the web server will be sent through partial postback (AJAX) or full postback.
Parameters:
{String} id
The id of the ToolItem
{String} toolName
The name of the ToolItem
Field Detail
{adf.Action} action
The adf.Action associated with the ToolItem
Default Value:
adf.MouseWheelAction

{String} id
The id of the ToolItem

{String} name
The name of the ToolItem
Method Detail
activate()
Activates the ToolItem and it's associated adf.MouseWheelAction

postAction(value)
This function is called when when a browser's mouse wheel event is fired. The function is passed a single paramater, an Integer, representing how much the user has scrolled.
Parameters:
value

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