This page describes an older version, please see latest API at http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/events/GraphicEvent.html.
Packagecom.esri.ags.events
Classpublic class GraphicEvent
InheritanceGraphicEvent Inheritance flash.events.Event

Represents event objects that are specific to graphics.

See also

com.esri.ags.Graphic


Public Properties
 PropertyDefined By
  graphic : Graphic
Reference to the associated graphic.
GraphicEvent
Public Methods
 MethodDefined By
  
GraphicEvent(type:String, graphic:Graphic = null)
Creates a new GraphicEvent.
GraphicEvent
Public Constants
 ConstantDefined By
  GRAPHIC_ADD : String = graphicAdd
[static] Defines the value of the type property of a graphicAdd event object.
GraphicEvent
  GRAPHIC_REMOVE : String = graphicRemove
[static] Defines the value of the type property of a graphicRemove event object.
GraphicEvent
Property Detail
graphicproperty
public var graphic:Graphic

Reference to the associated graphic.

Constructor Detail
GraphicEvent()Constructor
public function GraphicEvent(type:String, graphic:Graphic = null)

Creates a new GraphicEvent.

Parameters
type:String — The event type; indicates the action that triggered the event.
 
graphic:Graphic (default = null) — Reference to the associated graphic.
Constant Detail
GRAPHIC_ADDConstant
public static const GRAPHIC_ADD:String = graphicAdd

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

GRAPHIC_REMOVEConstant 
public static const GRAPHIC_REMOVE:String = graphicRemove

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