Packagecom.esri.ags.events
Classpublic class GraphicEvent
InheritanceGraphicEvent Inheritance flash.events.Event

Represents event objects that are specific to the graphic.

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_CLEAR : String = "graphicClear"
[static] Defines the value of the type property of a graphicClear 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_CLEARconstant 
public static const GRAPHIC_CLEAR:String = "graphicClear"

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

GRAPHIC_REMOVEconstant 
public static const GRAPHIC_REMOVE:String = "graphicRemove"

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