Packageorg.aswing.event
Classpublic class TreeEvent
InheritanceTreeEvent Inheritance AWEvent Inheritance flash.events.Event

Tree event.



Public Methods
 MethodDefined by
  
TreeEvent(type:String, path:TreePath)
TreeEvent
  
clone():Event
TreeEvent
  
Returns a TreePath object identifying the newly expanded/collapsed node.
TreeEvent
Public Constants
 ConstantDefined by
 InheritedACT : String = "act"
[static] The AWEvent.ACT constant defines the value of the type property of the event object for a act event.
AWEvent
 InheritedFOCUS_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
 InheritedFOCUS_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
 InheritedHIDDEN : String = "hidden"
[static] The AWEvent.HIDDEN constant defines the value of the type property of the event object for a hidden event.
AWEvent
 InheritedPAINT : String = "paint"
[static] The AWEvent.PAINT constant defines the value of the type property of the event object for a paint event.
AWEvent
 InheritedSHOWN : 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
Constructor detail
TreeEvent()constructor
public function TreeEvent(type:String, path:TreePath)Parameters
type:String
 
path:TreePath
Method detail
clone()method
public override function clone():Event

Returns
Event
getPath()method 
public function getPath():TreePath

Returns a TreePath object identifying the newly expanded/collapsed node.

Returns
TreePath — a TreePath object identifying the newly expanded/collapsed node.
Constant detail
TREE_COLLAPSEDconstant
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:

PropertyValue
bubblesfalse
cancelablefalse
getPath()the tree path
currentTargetThe 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.
targetThe 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_EXPANDEDconstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
getPath()the tree path
currentTargetThe 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.
targetThe 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_COLLAPSEconstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
getPath()the tree path
currentTargetThe 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.
targetThe 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_EXPANDconstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
getPath()the tree path
currentTargetThe 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.
targetThe 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.