Packagecom.asterisq.graph
Classpublic class GraphItemEvent
InheritanceGraphItemEvent Inheritance flash.events.Event

An event associated with a graph item.



Public Properties
 PropertyDefined by
  oldValue : *
[read-only] The value of the item's property before the change.
GraphItemEvent
  propertyName : String
[read-only] The name of the property that changed.
GraphItemEvent
Public Methods
 MethodDefined by
  
GraphItemEvent(eventType:String, oldValue:String, propertyName:* = null)
Creates a new graph item event.
GraphItemEvent
  
clone():Event
GraphItemEvent
Public Constants
 ConstantDefined by
  DATA_CHANGE : String = "dataChange"
[static] Event type indicating an node or an edge's data changed.
GraphItemEvent
  EDGES_CHANGE : String = "edgesChange"
[static] Event type indicating a node's edges changed.
GraphItemEvent
  NODES_CHANGE : String = "nodesChange"
[static] Event type indicating an edge's nodes changed.
GraphItemEvent
Property detail
oldValueproperty
oldValue:*  [read-only]

The value of the item's property before the change.

Implementation
    public function get oldValue():*
propertyNameproperty 
propertyName:String  [read-only]

The name of the property that changed.

Implementation
    public function get propertyName():String
Constructor detail
GraphItemEvent()constructor
public function GraphItemEvent(eventType:String, oldValue:String, propertyName:* = null)

Creates a new graph item event.

Parameters
eventType:String
 
oldValue:String
 
propertyName:* (default = null)
Method detail
clone()method
public override function clone():Event

Returns
Event
Constant detail
DATA_CHANGEconstant
public static const DATA_CHANGE:String = "dataChange"

Event type indicating an node or an edge's data changed.

EDGES_CHANGEconstant 
public static const EDGES_CHANGE:String = "edgesChange"

Event type indicating a node's edges changed.

NODES_CHANGEconstant 
public static const NODES_CHANGE:String = "nodesChange"

Event type indicating an edge's nodes changed.