class org.aswing.event.TreeEvent extends AWEvent
Tree event. @author paling
Class Fields
static var TREE_COLLAPSED:String
The TreeEvent.TREE_COLLAPSED constant defines the value of the
type property of the event object for a treeCollapsed event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
getPath() | the tree path |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
comp.addEventListener() to register an event listener,
comp is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
@eventType treeCollapsed
static var TREE_EXPANDED:String
The TreeEvent.TREE_EXPANDED constant defines the value of the
type property of the event object for a treeExpanded event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
getPath() | the tree path |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
comp.addEventListener() to register an event listener,
comp is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
@eventType treeExpanded
static var TREE_WILL_COLLAPSE:String
The TreeEvent.TREEWILLCOLLAPSE constant defines the value of the
type property of the event object for a treeWillCollapse event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
getPath() | the tree path |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
comp.addEventListener() to register an event listener,
comp is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
@eventType treeWillCollapse
static var TREE_WILL_EXPAND:String
The TreeEvent.TREEWILLEXPAND constant defines the value of the
type property of the event object for a treeWillExpand event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
getPath() | the tree path |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
comp.addEventListener() to register an event listener,
comp is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
You can throw a ExpandVetoException in this event handler to indicate that this action is veto.
@eventType treeWillExpand
Instance Fields
![]() | Show inherited public instance fields | Hide inherited public instance fields
|
