Class adf.EditingToolItem
Extends
adf.MapToolItem.
Defined in: EditTask.js.
Constructor Attributes | Constructor Name and Description |
---|---|
adf.EditingToolItem(id, toolName, action, estate)
Base editing tool item object to be extended by any editing tool items
|
Field Attributes | Field Name and Description |
---|---|
's ToolItem Collection this toolitem belongs to
|
|
Boolean Value which tells whether this toolitem is part of adf.EditingState's ToolItem Collection
|
|
Id of editing task this tool item is bound to
|
- Fields borrowed from class adf.MapToolItem:
- blockMapPan, blockMapZoom, control
- Fields borrowed from class adf.ToolItem:
- action, clientPostBack, defaultImage, defaultStyle, disabledImage, disabledStyle, element, hoverImage, hoverStyle, id, isActive, isCommand, isDisabled, isMarker, name, selectedImage, selectedStyle, showLoading, toolTip
Method Attributes | Method Name and Description |
---|---|
activate()
activates the ToolItem
|
|
Updates the Snapping Graphics Symbol Properties
|
- Methods borrowed from class adf.MapToolItem:
- deactivate, postAction
Class Detail
adf.EditingToolItem(id, toolName, action, estate)
Base editing tool item object to be extended by any editing tool items
- Parameters:
- {String} id
- the id of the tool
- {String} toolName
- the name of the tool
- {adf.Action} action
- the adf.EditingDrawAction bound to this tool
- {adf.EditingState} estate
- adf.EditingState's ToolItem Collection this toolitem belongs to, optional can be null when provided, This allows the ToolItem's state to be preserved during map operations
Field Detail
{Boolean}
editingState
's ToolItem Collection this toolitem belongs to
{Boolean}
isCol
Boolean Value which tells whether this toolitem is part of adf.EditingState's ToolItem Collection
{String}
taskId
Id of editing task this tool item is bound to
Method Detail
activate()
activates the ToolItem
updateSnapping()
Updates the Snapping Graphics Symbol Properties