class org.aswing.event.ContainerEvent extends AWEvent

The Event class is used to Container events. @author paling

Class Fields

static var COM_ADDED:String

The AWEvent.COM_ADDED constant defines the value of the type property of the event object for a comAdded event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
getContainer()the container who just be added a child.
getChild()the added child.
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 comAdded

static var COM_REMOVED:String

The AWEvent.COM_REMOVED constant defines the value of the type property of the event object for a comRemoved event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
getContainer()the container who just be removed a child.
getChild()the removed child.
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 comRemoved

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, container:Container, child:Component): Void

Create an Container Event.

function clone(): Event

function getChild(): Component

Returns the child component was just removed from its parent container.

function getContainer(): Container

Returns the container whos component child was just removed.