| Package | com.asterisq.graph |
| Class | public class GraphEvent |
| Inheritance | GraphEvent flash.events.Event |
| Property | Defined by | ||
|---|---|---|---|
| changeType : String [read-only]
The type of change that occurred.
| GraphEvent | ||
| endIndex : int [read-only]
The end index of the affected items.
| GraphEvent | ||
| items : Array [read-only]
The affected items.
| GraphEvent | ||
| startIndex : int [read-only]
The start index of the affected items.
| GraphEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
GraphEvent(eventType:String, changeType:String, items:Array, startIndex:int = -1, endIndex:int = -1)
Creates a new graph event.
| GraphEvent | ||
|
clone():Event
| GraphEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| EDGES_CHANGE : String = "edgesChange" [static] Indicates a change to the graph's edges.
| GraphEvent | ||
| NODES_CHANGE : String = "nodesChange" [static] Indicates a change to the graph's nodes.
| GraphEvent | ||
| changeType | property |
changeType:String [read-only]
The type of change that occurred. The value is usually one of the
DataChangeType constants.
public function get changeType():String
| endIndex | property |
endIndex:int [read-only]The end index of the affected items.
Implementation public function get endIndex():int
| items | property |
items:Array [read-only]The affected items.
Implementation public function get items():Array
| startIndex | property |
startIndex:int [read-only]The start index of the affected items.
Implementation public function get startIndex():int
| GraphEvent | () | constructor |
public function GraphEvent(eventType:String, changeType:String, items:Array, startIndex:int = -1, endIndex:int = -1)Creates a new graph event.
ParameterseventType:String — The type of event. Use one of the GraphEvent constants.
|
|
changeType:String — The type of change. Use one of the DataChangeType constants.
|
|
items:Array — The affected items.
|
|
startIndex:int (default = -1) — The start index of the affected items.
|
|
endIndex:int (default = -1) — The end index of the affected items.
|
| clone | () | method |
public override function clone():EventReturns
Event |
| EDGES_CHANGE | constant |
public static const EDGES_CHANGE:String = "edgesChange"Indicates a change to the graph's edges.
| NODES_CHANGE | constant |
public static const NODES_CHANGE:String = "nodesChange"Indicates a change to the graph's nodes.