Packagecom.esri.ags.events
Classpublic class EditEvent
InheritanceEditEvent Inheritance flash.events.Event

Since : ArcGIS API for Flex 2.0

Represents event objects that are specific to EditTool.

See also

com.esri.ags.tools.EditTool


Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined 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
Public Constants
 ConstantDefined 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
Property Detail
contextMenuproperty
public var contextMenu:ContextMenu

The associated context menu

graphicproperty 
public var graphic:Graphic

The current edited graphic

graphicsproperty 
public var graphics:Array

The array of graphic being moved

pathIndexproperty 
public var pathIndex:int

The path index(polyline)

pointIndexproperty 
public var pointIndex:int

The point index(multipoint/polyline/polygon)

ringIndexproperty 
public var ringIndex:int

The ring index(polygon)

Constructor Detail
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.

Parameters
type: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.
Constant Detail
CONTEXT_MENU_SELECTConstant
public static const CONTEXT_MENU_SELECT:String = contextMenuSelect

Defines the value of the type property of a contextMenuSelect event object.

GEOMETRY_UPDATEConstant 
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_DOWNConstant 
public static const GHOST_VERTEX_MOUSE_DOWN:String = ghostVertexMouseDown

Defines the value of the type property of a ghostVertexMouseDown event object.

GRAPHIC_ROTATEConstant 
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_FIRSTConstant 
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_STARTConstant 
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_STOPConstant 
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_SCALEConstant 
public static const GRAPHIC_SCALE:String = graphicScale

Defines the value of the type property of a graphicScale event object.

GRAPHIC_SCALE_FIRSTConstant 
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_STARTConstant 
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_STOPConstant 
public static const GRAPHIC_SCALE_STOP:String = graphicScaleStop

Defines the value of the type property of a graphicScaleStop event object.

GRAPHICS_MOVEConstant 
public static const GRAPHICS_MOVE:String = graphicsMove

Defines the value of the type property of a graphicsMove event object.

GRAPHICS_MOVE_FIRSTConstant 
public static const GRAPHICS_MOVE_FIRST:String = graphicsMoveFirst

Defines the value of the type property of a graphicsMoveFirst event object.

GRAPHICS_MOVE_STARTConstant 
public static const GRAPHICS_MOVE_START:String = graphicsMoveStart

Defines the value of the type property of a graphicsMoveStart event object.

GRAPHICS_MOVE_STOPConstant 
public static const GRAPHICS_MOVE_STOP:String = graphicsMoveStop

Defines the value of the type property of a graphicsMoveStop event object.

VERTEX_ADDConstant 
public static const VERTEX_ADD:String = vertexAdd

Defines the value of the type property of a vertexAdd event object.

VERTEX_DELETEConstant 
public static const VERTEX_DELETE:String = vertexDelete

Defines the value of the type property of a vertexDelete event object.

VERTEX_MOUSE_OUTConstant 
public static const VERTEX_MOUSE_OUT:String = vertexMouseOut

Defines the value of the type property of a vertexMouseOut event object.

VERTEX_MOUSE_OVERConstant 
public static const VERTEX_MOUSE_OVER:String = vertexMouseOver

Defines the value of the type property of a vertexMouseOver event object.

VERTEX_MOVEConstant 
public static const VERTEX_MOVE:String = vertexMove

Defines the value of the type property of a vertexMove event object.

VERTEX_MOVE_FIRSTConstant 
public static const VERTEX_MOVE_FIRST:String = vertexMoveFirst

Defines the value of the type property of a vertexMoveFirst event object.

VERTEX_MOVE_STARTConstant 
public static const VERTEX_MOVE_START:String = vertexMoveStart

Defines the value of the type property of a vertexMoveStart event object.

VERTEX_MOVE_STOPConstant 
public static const VERTEX_MOVE_STOP:String = vertexMoveStop

Defines the value of the type property of a vertexMoveStop event object.