Class Index | File Index

Classes


Class adf.MapCircle


Extends adf.MapPoly.

Defined in: MapToolItem.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
adf.MapCircle(id, toolName, action, isMarker)
Creates a new toolitem to draw a circle on the map control
Field Summary
Field Attributes Field Name and Description
 
id
The id of the ToolItem
Fields borrowed from class adf.MapPoly:
action, isMarker, isPolygon, name
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, selectedImage, selectedStyle, showLoading, toolTip
Method Summary
Method Attributes Method Name and Description
 
activates the toolitem
 
postAction(center, radius)
This callback is called after adf.DrawCircleAction is completed.
Methods borrowed from class adf.MapPoly:
continuousAction
Methods borrowed from class adf.MapToolItem:
deactivate
Class Detail
adf.MapCircle(id, toolName, action, isMarker)
Creates a new toolitem to draw a circle on the map control
Parameters:
{String} id
the id of the tool
{String} toolName
the name of the tool
{adf.Action} action
the adf.Action bound to this tool
{Boolean} isMarker
when set to true, this tools drawing action will leave its graphics on the adf.graphics.Element, otherwise it removes when the action is deactivated.
Field Detail
{String} id
The id of the ToolItem
Method Detail
activate()
activates the toolitem

postAction(center, radius)
This callback is called after adf.DrawCircleAction is completed. Based on the adf.MapCircle#isMarker value, either draws circle on map control or sends the circle shape parameters to be drawn to the server It sends both screen coordinates and map coordinates for adf.Circle shape drawn by the action The adf.ToolItem#clientPostBack determines this request to the server will be AJAX (partial) or full postback
Parameters:
{adf.Point} center
{Number} radius

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