Class zwt.ui.tree.TreeSelectionModelEvent
Extends
zwt.event.Event.
A tree selection model event is emitted when an event occurs on a tree selection model.
Defined in: TreeSelectionModelEvent.js.
Constructor Attributes | Constructor Name and Description |
---|---|
zwt.ui.tree.TreeSelectionModelEvent(int_type, array_treePath)
Construct a selection model event.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
zwt.ui.tree.TreeSelectionModelEvent.DESELECT
Constant used to indicate a node deselect event
|
<static> |
zwt.ui.tree.TreeSelectionModelEvent.SELECT
Constant used to indicate a node select event
|
Method Attributes | Method Name and Description |
---|---|
Return the tree path of the node in the model impacted by the event.
|
- Methods borrowed from class zwt.event.Event:
- getType, isCancelBubble, setCancelBubble, touch
Class Detail
zwt.ui.tree.TreeSelectionModelEvent(int_type, array_treePath)
Construct a selection model event.
Author: Jeremy KUHN.
Author: Jeremy KUHN.
- Parameters:
- {Integer} int_type
- The event type.
- {Integer[]} array_treePath
- the tree path of the node in the model impacted by the event
Field Detail
<static>
{Integer}
zwt.ui.tree.TreeSelectionModelEvent.DESELECT
Constant used to indicate a node deselect event
<static>
{Integer}
zwt.ui.tree.TreeSelectionModelEvent.SELECT
Constant used to indicate a node select event
Method Detail
{Integer[]}
getTreePath()
Return the tree path of the node in the model impacted by the event.
- Returns:
- The tree path of the impacted node.