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:

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.

@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:

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.

@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:

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.

@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:

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.

You can throw a ExpandVetoException in this event handler to indicate that this action is veto.

@eventType treeWillExpand

Instance Fields

Show inherited public instance fieldsHide inherited public instance fields

Inherited from AWEvent

function clone():Event

Inherited from Event

var bubbles:Bool
var cancelable:Bool
var currentTarget:Dynamic
var eventPhase:EventPhase
var target:Dynamic
var type:String
function clone():Event
function formatToString(className:String, ?p1:Dynamic, ?p2:Dynamic, ?p3:Dynamic, ?p4:Dynamic, ?p5:Dynamic):String
function isDefaultPrevented():Bool
function preventDefault():Void
function stopImmediatePropagation():Void
function stopPropagation():Void
function toString():String

function new(type:String, path:TreePath): Void

function clone(): Event

function getPath(): TreePath

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

returns

a TreePath object identifying the newly expanded/collapsed node.