Class Index | File Index

Classes


Class adf.EditingDrawAction


Extends adf.Action.

Defined in: EditTask.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
This is the base class for all editing actions fro providing the necessary eventing abstarction for writing any Editing based Tools for ADF framework.
Field Summary
Field Attributes Field Name and Description
 
The tolerance set for snapping
 
The fill color for the graphic drawn by the action Deprecated usage Use adf.Action#symbol
 
The fill opacity for the graphic drawn by the action Deprecated usage Use adf.Action#symbol
 
Is the Editing Action enabled
 
The Opacity of the line graphic drawn by the action Deprecated usage Use adf.Action#symbol
 
The snapping Color
 
The snapping Distance for Snapping features
 
The snap graphics conatiner to draw snap graphics
 
The snapped Point in Map Coordiantes
 
The snapped Point in ScreenCoordiantes
 
The parameter when set to true, the action performs snapping
 
The graphics point representation of the snapped feature
 
The point at which the snap request was sent to the server from the action , its in screen coordiantes
 
The snapping symbol for Snapping features This is used by all Editing Actions by default
 
The label information of the snapped feature
 
The snapping width for Snapping features
Fields borrowed from class adf.Action:
cursor, graphicsZIndex, name, symbol
Method Summary
Method Attributes Method Name and Description
 
This Method is to clear the snap graphics : the snap text and the snap circle .
 
This method resets Snapping Graphics Symbol to its initial Symbol set when action is activated
 
This method sets the SnapGraphics Symbol for the Action
Methods borrowed from class adf.Action:
activate, deactivate, reactivate
Class Detail
adf.EditingDrawAction()
This is the base class for all editing actions fro providing the necessary eventing abstarction for writing any Editing based Tools for ADF framework. The major difference between adf.Action and this class is that , it allows snapping which is specific to all Editing based actions. A Snapping AJAX request is sent by the classes derived from this class in their respective continuous actions
Field Detail
{Number} clickTolerance
The tolerance set for snapping

{String} fillColor
The fill color for the graphic drawn by the action Deprecated usage Use adf.Action#symbol
Default Value:
"ff0"

{Number} fillOpacity
The fill opacity for the graphic drawn by the action Deprecated usage Use adf.Action#symbol
Default Value:
0.25

{Boolean} isEditing
Is the Editing Action enabled
Default Value:
true

{Number} lineOpacity
The Opacity of the line graphic drawn by the action Deprecated usage Use adf.Action#symbol
Default Value:
0.5

{String} snapColor
The snapping Color
Default Value:
f90

{Number} snapDistance
The snapping Distance for Snapping features
Default Value:
5

{adf.GraphicsElement} snapGraphics
The snap graphics conatiner to draw snap graphics

{adf.Point} snappedPoint
The snapped Point in Map Coordiantes

{adf.Point} snappedScreenPoint
The snapped Point in ScreenCoordiantes

{Boolean} snapping
The parameter when set to true, the action performs snapping
Default Value:
false

{adf.Point} snapPoint
The graphics point representation of the snapped feature

{adf.Point} snapRequestedPoint
The point at which the snap request was sent to the server from the action , its in screen coordiantes

{adf.GraphicSymbol} snapSymbol
The snapping symbol for Snapping features This is used by all Editing Actions by default
Default Value:
["#f90",1,8,'#fff',1]

{String} snapText
The label information of the snapped feature

{Number} snapWidth
The snapping width for Snapping features
Default Value:
8
Method Detail
clearSnapGraphics()
This Method is to clear the snap graphics : the snap text and the snap circle .

resetSnappingGraphicsSymbol()
This method resets Snapping Graphics Symbol to its initial Symbol set when action is activated

setSnapGraphicsSymbol(symbol)
This method sets the SnapGraphics Symbol for the Action
Parameters:
symbol

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