| Package | org.aswing.event |
| Class | public class ContainerEvent |
| Inheritance | ContainerEvent AWEvent flash.events.Event |
| Method | Defined by | ||
|---|---|---|---|
|
Create an Container Event.
| ContainerEvent | ||
|
clone():Event
| ContainerEvent | ||
|
Returns the child component was just removed from its parent container.
| ContainerEvent | ||
|
Returns the container whos component child was just removed.
| ContainerEvent | ||
| 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 | |
| COM_ADDED : String = "comAdded" [static]
The
AWEvent.COM_ADDED constant defines the value of the
type property of the event object for a comAdded event. | ContainerEvent | ||
| COM_REMOVED : String = "comRemoved" [static]
The
AWEvent.COM_REMOVED constant defines the value of the
type property of the event object for a comRemoved event. | ContainerEvent | ||
![]() | 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 | |
| ContainerEvent | () | constructor |
public function ContainerEvent(type:String, container:Container, child:Component)Create an Container Event.
Parameterstype:String |
|
container:Container |
|
child:Component |
| clone | () | method |
public override function clone():Event
Returns
Event |
| getChild | () | method |
public function getChild():ComponentReturns the child component was just removed from its parent container.
ReturnsComponent |
| getContainer | () | method |
public function getContainer():ContainerReturns the container whos component child was just removed.
ReturnsContainer |
| COM_ADDED | constant |
public static const COM_ADDED:String = "comAdded"
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:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
getContainer() | the container who just be added a child. |
getChild() | the added child. |
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. |
| COM_REMOVED | constant |
public static const COM_REMOVED:String = "comRemoved"
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:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
getContainer() | the container who just be removed a child. |
getChild() | the removed child. |
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. |