Events dispatched by the TreeView component.

Available since

1.0.0

.

See also:

Static variables

@:value("branchClose")staticinlineread onlyBRANCH_CLOSE:EventType<TreeViewEvent> = "branchClose"

The TreeViewEvent.BRANCH_CLOSE event type is dispatched when a branch is closed.

Available since

1.0.0

.

@:value("branchClosing")staticinlineread onlyBRANCH_CLOSING:EventType<TreeViewEvent> = "branchClosing"

The TreeViewEvent.BRANCH_CLOSING event type is dispatched before a branch closes.

Available since

1.4.0

.

@:value("branchOpen")staticinlineread onlyBRANCH_OPEN:EventType<TreeViewEvent> = "branchOpen"

The TreeViewEvent.BRANCH_OPEN event type is dispatched when a branch is opened.

Available since

1.0.0

.

@:value("branchOpening")staticinlineread onlyBRANCH_OPENING:EventType<TreeViewEvent> = "branchOpening"

The TreeViewEvent.BRANCH_OPENING event type is dispatched before a branch opens.

Available since

1.4.0

.

@:value("itemTrigger")staticinlineread onlyITEM_TRIGGER:EventType<TreeViewEvent> = "itemTrigger"

The TreeViewEvent.ITEM_TRIGGER event type is dispatched when an item renderer is clicked or tapped.

Available since

1.0.0

.

Static methods

@:value({ cancelable : false })staticdispatch(dispatcher:IEventDispatcher, type:String, state:TreeViewItemState, cancelable:Bool = false):Bool

Dispatches a pooled event with the specified properties.

TreeViewEvent.dispatch(component, TreeViewEvent.ITEM_TRIGGER, state);
Available since

1.0.0

.

Constructor

@:value({ cancelable : false })new(type:String, state:TreeViewItemState, cancelable:Bool = false)

Creates a new TreeViewEvent object with the given arguments.

Available since

1.0.0

.

See also:

Variables

state:TreeViewItemState

The current state of the item associated with this event.

Available since

1.0.0

.

Methods