| Package | org.aswing.event |
| Class | public class TreeEvent |
| Inheritance | TreeEvent AWEvent flash.events.Event |
| Method | Defined by | ||
|---|---|---|---|
| TreeEvent | |||
|
clone():Event
| TreeEvent | ||
|
Returns a TreePath object identifying the newly expanded/collapsed node.
| TreeEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
![]() | ACT : String = "act" [static]
The
AWEvent.ACT constant defines the value of the
type property of the event object for a act event. | AWEvent | |
![]() | FOCUS_GAINED : String = "focusGained" [static]
The
AWEvent.FOCUS_GAINED constant defines the value of the
type property of the event object for a focusGained event. | AWEvent | |
![]() | FOCUS_LOST : String = "focusLost" [static]
The
AWEvent.FOCUS_LOST constant defines the value of the
type property of the event object for a focusLost event. | AWEvent | |
![]() | HIDDEN : String = "hidden" [static]
The
AWEvent.HIDDEN constant defines the value of the
type property of the event object for a hidden event. | AWEvent | |
![]() | PAINT : String = "paint" [static]
The
AWEvent.PAINT constant defines the value of the
type property of the event object for a paint event. | AWEvent | |
![]() | SHOWN : String = "shown" [static]
The
AWEvent.SHOWN constant defines the value of the
type property of the event object for a shown event. | AWEvent | |
| TREE_COLLAPSED : String = "treeCollapsed" [static]
The
TreeEvent.TREE_COLLAPSED constant defines the value of the
type property of the event object for a treeCollapsed event. | TreeEvent | ||
| TREE_EXPANDED : String = "treeExpanded" [static]
The
TreeEvent.TREE_EXPANDED constant defines the value of the
type property of the event object for a treeExpanded event. | TreeEvent | ||
| TREE_WILL_COLLAPSE : String = "treeWillCollapse" [static]
The
TreeEvent.TREE_WILL_COLLAPSE constant defines the value of the
type property of the event object for a treeWillCollapse event. | TreeEvent | ||
| TREE_WILL_EXPAND : String = "treeWillExpand" [static]
The
TreeEvent.TREE_WILL_EXPAND constant defines the value of the
type property of the event object for a treeWillExpand event. | TreeEvent | ||
| TreeEvent | () | constructor |
| clone | () | method |
public override function clone():Event
Returns
Event |
| getPath | () | method |
public function getPath():TreePathReturns a TreePath object identifying the newly expanded/collapsed node.
ReturnsTreePath —
a TreePath object identifying the newly expanded/collapsed node.
|
| TREE_COLLAPSED | constant |
public static const TREE_COLLAPSED:String = "treeCollapsed"
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. |
| TREE_EXPANDED | constant |
public static const TREE_EXPANDED:String = "treeExpanded"
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. |
| TREE_WILL_COLLAPSE | constant |
public static const TREE_WILL_COLLAPSE:String = "treeWillCollapse"
The TreeEvent.TREE_WILL_COLLAPSE 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. |
| TREE_WILL_EXPAND | constant |
public static const TREE_WILL_EXPAND:String = "treeWillExpand"
The TreeEvent.TREE_WILL_EXPAND 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. |