| Package | com.esri.ags.events |
| Class | public class EditEvent |
| Inheritance | EditEvent flash.events.Event |
| Since : | ArcGIS API for Flex 2.0 |
See also
| Property | Defined By | ||
|---|---|---|---|
| contextMenu : ContextMenu
The associated context menu
| EditEvent | ||
| graphic : Graphic
The current edited graphic
| EditEvent | ||
| graphics : Array
The array of graphic being moved
| EditEvent | ||
| pathIndex : int
The path index(polyline)
| EditEvent | ||
| pointIndex : int
The point index(multipoint/polyline/polygon)
| EditEvent | ||
| ringIndex : int
The ring index(polygon)
| EditEvent | ||
| Method | Defined By | ||
|---|---|---|---|
EditEvent(type:String, contextMenu:ContextMenu = null, graphic:Graphic = null, pointIndex:int = 0, pathIndex:int = 0, ringIndex:int = 0, graphics:Array = null)
Creates a new EditEvent. | EditEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| CONTEXT_MENU_SELECT : String = contextMenuSelect [static]
Defines the value of the type property of a contextMenuSelect event object. | EditEvent | ||
| GEOMETRY_UPDATE : String = geometryUpdate [static]
Defines the value of the type property of a geometryUpdate event object. | EditEvent | ||
| GHOST_VERTEX_MOUSE_DOWN : String = ghostVertexMouseDown [static]
Defines the value of the type property of a ghostVertexMouseDown event object. | EditEvent | ||
| GRAPHIC_ROTATE : String = graphicRotate [static]
Defines the value of the type property of a graphicRotate event object. | EditEvent | ||
| GRAPHIC_ROTATE_FIRST : String = graphicRotateFirst [static]
Defines the value of the type property of a graphicRotateFirst event object. | EditEvent | ||
| GRAPHIC_ROTATE_START : String = graphicRotateStart [static]
Defines the value of the type property of a graphicRotateStart event object. | EditEvent | ||
| GRAPHIC_ROTATE_STOP : String = graphicRotateStop [static]
Defines the value of the type property of a graphicRotateStop event object. | EditEvent | ||
| GRAPHIC_SCALE : String = graphicScale [static]
Defines the value of the type property of a graphicScale event object. | EditEvent | ||
| GRAPHIC_SCALE_FIRST : String = graphicScaleFirst [static]
Defines the value of the type property of a graphicScaleFirst event object. | EditEvent | ||
| GRAPHIC_SCALE_START : String = graphicScaleStart [static]
Defines the value of the type property of a graphicScaleStart event object. | EditEvent | ||
| GRAPHIC_SCALE_STOP : String = graphicScaleStop [static]
Defines the value of the type property of a graphicScaleStop event object. | EditEvent | ||
| GRAPHICS_MOVE : String = graphicsMove [static]
Defines the value of the type property of a graphicsMove event object. | EditEvent | ||
| GRAPHICS_MOVE_FIRST : String = graphicsMoveFirst [static]
Defines the value of the type property of a graphicsMoveFirst event object. | EditEvent | ||
| GRAPHICS_MOVE_START : String = graphicsMoveStart [static]
Defines the value of the type property of a graphicsMoveStart event object. | EditEvent | ||
| GRAPHICS_MOVE_STOP : String = graphicsMoveStop [static]
Defines the value of the type property of a graphicsMoveStop event object. | EditEvent | ||
| VERTEX_ADD : String = vertexAdd [static]
Defines the value of the type property of a vertexAdd event object. | EditEvent | ||
| VERTEX_DELETE : String = vertexDelete [static]
Defines the value of the type property of a vertexDelete event object. | EditEvent | ||
| VERTEX_MOUSE_OUT : String = vertexMouseOut [static]
Defines the value of the type property of a vertexMouseOut event object. | EditEvent | ||
| VERTEX_MOUSE_OVER : String = vertexMouseOver [static]
Defines the value of the type property of a vertexMouseOver event object. | EditEvent | ||
| VERTEX_MOVE : String = vertexMove [static]
Defines the value of the type property of a vertexMove event object. | EditEvent | ||
| VERTEX_MOVE_FIRST : String = vertexMoveFirst [static]
Defines the value of the type property of a vertexMoveFirst event object. | EditEvent | ||
| VERTEX_MOVE_START : String = vertexMoveStart [static]
Defines the value of the type property of a vertexMoveStart event object. | EditEvent | ||
| VERTEX_MOVE_STOP : String = vertexMoveStop [static]
Defines the value of the type property of a vertexMoveStop event object. | EditEvent | ||
| contextMenu | property |
public var contextMenu:ContextMenuThe associated context menu
| graphic | property |
public var graphic:GraphicThe current edited graphic
| graphics | property |
public var graphics:ArrayThe array of graphic being moved
| pathIndex | property |
public var pathIndex:intThe path index(polyline)
| pointIndex | property |
public var pointIndex:intThe point index(multipoint/polyline/polygon)
| ringIndex | property |
public var ringIndex:intThe ring index(polygon)
| EditEvent | () | Constructor |
public function EditEvent(type:String, contextMenu:ContextMenu = null, graphic:Graphic = null, pointIndex:int = 0, pathIndex:int = 0, ringIndex:int = 0, graphics:Array = null)Creates a new EditEvent.
Parameterstype:String — The event type; indicates the action that triggered the event.
| |
contextMenu:ContextMenu (default = null) — The context menu.
| |
graphic:Graphic (default = null) — The current edited graphic.
| |
pointIndex:int (default = 0) — The point index.
| |
pathIndex:int (default = 0) — The path index(polyline).
| |
ringIndex:int (default = 0) — The ring index(polygon).
| |
graphics:Array (default = null) — If true, the current edited vertex is a ghost vertex.
|
| CONTEXT_MENU_SELECT | Constant |
public static const CONTEXT_MENU_SELECT:String = contextMenuSelect
Defines the value of the type property of a contextMenuSelect event object.
| GEOMETRY_UPDATE | Constant |
public static const GEOMETRY_UPDATE:String = geometryUpdate| Since : | ArcGIS API for Flex 2.3 |
Defines the value of the type property of a geometryUpdate event object.
| GHOST_VERTEX_MOUSE_DOWN | Constant |
public static const GHOST_VERTEX_MOUSE_DOWN:String = ghostVertexMouseDown
Defines the value of the type property of a ghostVertexMouseDown event object.
| GRAPHIC_ROTATE | Constant |
public static const GRAPHIC_ROTATE:String = graphicRotate| Since : | ArcGIS API for Flex 2.1 |
Defines the value of the type property of a graphicRotate event object.
| GRAPHIC_ROTATE_FIRST | Constant |
public static const GRAPHIC_ROTATE_FIRST:String = graphicRotateFirst| Since : | ArcGIS API for Flex 2.2 |
Defines the value of the type property of a graphicRotateFirst event object.
| GRAPHIC_ROTATE_START | Constant |
public static const GRAPHIC_ROTATE_START:String = graphicRotateStart| Since : | ArcGIS API for Flex 2.1 |
Defines the value of the type property of a graphicRotateStart event object.
| GRAPHIC_ROTATE_STOP | Constant |
public static const GRAPHIC_ROTATE_STOP:String = graphicRotateStop| Since : | ArcGIS API for Flex 2.1 |
Defines the value of the type property of a graphicRotateStop event object.
| GRAPHIC_SCALE | Constant |
public static const GRAPHIC_SCALE:String = graphicScale
Defines the value of the type property of a graphicScale event object.
| GRAPHIC_SCALE_FIRST | Constant |
public static const GRAPHIC_SCALE_FIRST:String = graphicScaleFirst| Since : | ArcGIS API for Flex 2.2 |
Defines the value of the type property of a graphicScaleFirst event object.
| GRAPHIC_SCALE_START | Constant |
public static const GRAPHIC_SCALE_START:String = graphicScaleStart| Since : | ArcGIS API for Flex 2.1 |
Defines the value of the type property of a graphicScaleStart event object.
| GRAPHIC_SCALE_STOP | Constant |
public static const GRAPHIC_SCALE_STOP:String = graphicScaleStop
Defines the value of the type property of a graphicScaleStop event object.
| GRAPHICS_MOVE | Constant |
public static const GRAPHICS_MOVE:String = graphicsMove
Defines the value of the type property of a graphicsMove event object.
| GRAPHICS_MOVE_FIRST | Constant |
public static const GRAPHICS_MOVE_FIRST:String = graphicsMoveFirst
Defines the value of the type property of a graphicsMoveFirst event object.
| GRAPHICS_MOVE_START | Constant |
public static const GRAPHICS_MOVE_START:String = graphicsMoveStart
Defines the value of the type property of a graphicsMoveStart event object.
| GRAPHICS_MOVE_STOP | Constant |
public static const GRAPHICS_MOVE_STOP:String = graphicsMoveStop
Defines the value of the type property of a graphicsMoveStop event object.
| VERTEX_ADD | Constant |
public static const VERTEX_ADD:String = vertexAdd
Defines the value of the type property of a vertexAdd event object.
| VERTEX_DELETE | Constant |
public static const VERTEX_DELETE:String = vertexDelete
Defines the value of the type property of a vertexDelete event object.
| VERTEX_MOUSE_OUT | Constant |
public static const VERTEX_MOUSE_OUT:String = vertexMouseOut
Defines the value of the type property of a vertexMouseOut event object.
| VERTEX_MOUSE_OVER | Constant |
public static const VERTEX_MOUSE_OVER:String = vertexMouseOver
Defines the value of the type property of a vertexMouseOver event object.
| VERTEX_MOVE | Constant |
public static const VERTEX_MOVE:String = vertexMove
Defines the value of the type property of a vertexMove event object.
| VERTEX_MOVE_FIRST | Constant |
public static const VERTEX_MOVE_FIRST:String = vertexMoveFirst
Defines the value of the type property of a vertexMoveFirst event object.
| VERTEX_MOVE_START | Constant |
public static const VERTEX_MOVE_START:String = vertexMoveStart
Defines the value of the type property of a vertexMoveStart event object.
| VERTEX_MOVE_STOP | Constant |
public static const VERTEX_MOVE_STOP:String = vertexMoveStop
Defines the value of the type property of a vertexMoveStop event object.