Class adf.EditTaskUtils
Defined in: EditTask.js.
Constructor Attributes | Constructor Name and Description |
---|---|
This Class definies utility methods used by Editing Task .
|
Field Attributes | Field Name and Description |
---|---|
The color chooser window
|
|
The font size of the snapping text label
|
|
The font style
|
|
The point symbol
|
|
The snapPoint graphic
|
|
The snapText graphic
|
|
The snapText symbol
|
Method Attributes | Method Name and Description |
---|---|
showColorChooser(title, fieldId, butId)
shows the Color chooser window
|
|
snapPointRequestHandler(taskId, mapid, point, The)
sends snapping request
|
|
snapPointResponseHandler(response, requestParams, requestParams)
handles snapping response and draws the snapping text, snapped point if the server had found a snapped point for the request
|
Class Detail
adf.EditTaskUtils()
This Class definies utility methods used by Editing Task . Snapping Request and Response
are sent and handled by this class
Field Detail
{adf.Window}
ccWin
The color chooser window
{Number}
fontSize
The font size of the snapping text label
- Default Value:
- 12
{CSSString}
fontStyle
The font style
ptSymbol
The point symbol
{point graphic}
snapPoint
The snapPoint graphic
{text graphic}
snapText
The snapText graphic
txtSymbol
The snapText symbol
Method Detail
showColorChooser(title, fieldId, butId)
shows the Color chooser window
- Parameters:
- title
- fieldId
- butId
snapPointRequestHandler(taskId, mapid, point, The)
sends snapping request
- Parameters:
- {String} taskId
- The id of editing Task sending this request
- {String} mapid
- The id of the Map that this Editing Task is added to
- {adf.Point} point
- The Snap Requested Point
- {adf.EditingDrawAction} The
- Action that this request origninated from
snapPointResponseHandler(response, requestParams, requestParams)
handles snapping response and draws the snapping text, snapped point if the server had found a snapped point for the request
- Parameters:
- {XMLNode} response
- {Object} requestParams
- The Snap Request parameters
- requestParams
- Deprecated:
- xh