| Package | com.yworks.graph.model |
| Class | public class SelectionEvent |
| Inheritance | SelectionEvent flash.events.Event |
IModelItem
is selected or deselected.
| Property | Defined By | ||
|---|---|---|---|
| item : IModelItem [read-only]
The selected item. | SelectionEvent | ||
| Method | Defined By | ||
|---|---|---|---|
SelectionEvent(type:String, item:IModelItem)
Constructor. | SelectionEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| DESELECT : String = deselect [static]
| SelectionEvent | ||
| SELECT : String = select [static]
| SelectionEvent | ||
| item | property |
| SelectionEvent | () | Constructor |
public function SelectionEvent(type:String, item:IModelItem)Constructor.
Parameterstype:String — The event type
| |
item:IModelItem — the selected item
|
| DESELECT | Constant |
public static const DESELECT:String = deselect
| SELECT | Constant |
public static const SELECT:String = select