| Package | feathers.extensions.tree.events |
| Class | public class TreeEvent |
| Inheritance | TreeEvent Event Object |
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | bubbles : Boolean [read-only] Indicates if event will bubble. | Event | |
| CHANGE : String = change [static]
Dispatched when a tree item changes. | TreeEvent | ||
![]() | currentTarget : EventDispatcher [read-only] The object the event is currently bubbling at. | Event | |
| data : Object [override] [read-only]
The tree dataProvider item corresponding to this item renderer. | TreeEvent | ||
| index : Vector.<int> [read-only]
The index of tree item. | TreeEvent | ||
| isDirectory : Boolean [read-only]
Indicates whether the item is a branch. | TreeEvent | ||
| item : Object [read-only]
The item renderer. | TreeEvent | ||
| SELECT : String = select [static]
Dispatched when a tree item selected. | TreeEvent | ||
![]() | target : EventDispatcher [read-only] The object that dispatched the event. | Event | |
![]() | type : String [read-only] A string that identifies the event. | Event | |
| Method | Defined By | ||
|---|---|---|---|
TreeEvent(type:String, index:Vector.<int>, isDirectory:Boolean, data:Object, item:Object, bubbles:Boolean = false, cancelable:Boolean = false) | TreeEvent | ||
![]() | stopImmediatePropagation():void Prevents any other listeners from receiving the event. | Event | |
![]() | stopPropagation():void Prevents listeners at the next bubble stage from receiving the event. | Event | |
![]() | toString():String Returns a description of the event, containing type and bubble information. | Event | |
| CHANGE | property |
public static var CHANGE:String = changeDispatched when a tree item changes.
| data | property |
data:Object [read-only] [override] The tree dataProvider item corresponding to this item renderer.
public function get data():Object| index | property |
index:Vector.<int> [read-only] The index of tree item.
public function get index():Vector.<int>| isDirectory | property |
isDirectory:Boolean [read-only] Indicates whether the item is a branch.
public function get isDirectory():Boolean| item | property |
item:Object [read-only] The item renderer.
public function get item():Object| SELECT | property |
public static var SELECT:String = selectDispatched when a tree item selected.
| TreeEvent | () | Constructor |
public function TreeEvent(type:String, index:Vector.<int>, isDirectory:Boolean, data:Object, item:Object, bubbles:Boolean = false, cancelable:Boolean = false)type:String | |
index:Vector.<int> | |
isDirectory:Boolean | |
data:Object | |
item:Object | |
bubbles:Boolean (default = false) | |
cancelable:Boolean (default = false) |