| Package | com.yworks.graph.model |
| Class | public class GraphEvent |
| Inheritance | GraphEvent flash.events.Event |
GraphEventKind.
See also
| Property | Defined by | ||
|---|---|---|---|
| graph : IGraph
[read-only]
The graph that is the source of this graph event.
| GraphEvent | ||
| item : IModelItem
[read-only]
The model item that was added, updated or removed.
| GraphEvent | ||
| kind : String | GraphEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
GraphEvent(type:String, item:IModelItem, kind:String, graph:IGraph, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new instance
| GraphEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| GRAPH_CHANGED : String = "graphChanged" [static]
| GraphEvent | ||
| graph | property |
graph:IGraph [read-only]The graph that is the source of this graph event.
Implementation public function get graph():IGraph
| item | property |
item:IModelItem [read-only]The model item that was added, updated or removed.
Implementation public function get item():IModelItem
| kind | property |
kind:String [read-write]Implementation
public function get kind():String
public function set kind(value:String):void
| GraphEvent | () | constructor |
public function GraphEvent(type:String, item:IModelItem, kind:String, graph:IGraph, bubbles:Boolean = false, cancelable:Boolean = false)Creates a new instance
Parameterstype:String — The type of the Event as String
|
|
item:IModelItem — The item to which this event is related
|
|
kind:String — A String value which gives a closer specification of this event as defined by GraphEventKind
|
|
graph:IGraph — The graph to which this event is related
|
|
bubbles:Boolean (default = false) — true if this event bubbles
|
|
cancelable:Boolean (default = false) — true if this event is cancelable
|
See also
| GRAPH_CHANGED | constant |
public static const GRAPH_CHANGED:String = "graphChanged"