Package | twaver |
Class | public class HierarchyChangeEvent |
Inheritance | HierarchyChangeEvent ![]() |
Property | Defined By | ||
---|---|---|---|
data : IData
The data object which hierachy changed
| HierarchyChangeEvent | ||
newIndex : int
The new index value after the change
| HierarchyChangeEvent | ||
oldIndex : int
The old index value before the change
| HierarchyChangeEvent |
Method | Defined By | ||
---|---|---|---|
HierarchyChangeEvent(data:IData = null, oldIndex:int = -1, newIndex:int = -1, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor. | HierarchyChangeEvent | ||
clone():Event [override]
| HierarchyChangeEvent |
data | property |
public var data:IData
The data object which hierachy changed
newIndex | property |
public var newIndex:int
The new index value after the change
oldIndex | property |
public var oldIndex:int
The old index value before the change
HierarchyChangeEvent | () | Constructor |
public function HierarchyChangeEvent(data:IData = null, oldIndex:int = -1, newIndex:int = -1, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor.
Parametersdata:IData (default = null ) — the data that hierarchy changed
| |
oldIndex:int (default = -1 ) — the old index value before change
| |
newIndex:int (default = -1 ) — the new index value after change
| |
bubbles:Boolean (default = false ) — whether bubble this event up
| |
cancelable:Boolean (default = false ) — whether this change is cancelable
|
clone | () | method |
override public function clone():Event
Returns
Event |