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 | ||
clone():Event [override]
Creates a clone of this event. | 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
|
clone | () | method |
override public function clone():Event
Creates a clone of this event.
ReturnsEvent — A clone of this instance.
|
DESELECT | Constant |
public static const DESELECT:String = deselect
SELECT | Constant |
public static const SELECT:String = select