| Package | org.aswing.event |
| Class | public class AWEvent |
| Inheritance | AWEvent flash.events.Event |
| Subclasses | AttachEvent, ClickCountEvent, ColorChooserEvent, ContainerEvent, DragAndDropEvent, InteractiveEvent, MovedEvent, PopupEvent, PropertyChangeEvent, ResizedEvent, TabCloseEvent, TableCellEditEvent, ToolTipEvent, TreeCellEditEvent, TreeEvent |
| Method | Defined by | ||
|---|---|---|---|
|
AWEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Create an AWEvent.
| AWEvent | ||
|
clone():Event
| AWEvent | ||
| 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 | ||
| AWEvent | () | constructor |
public function AWEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)Create an AWEvent.
Parameterstype:String |
|
bubbles:Boolean (default = false) |
|
cancelable:Boolean (default = false) |
| clone | () | method |
public override function clone():Event
Returns
Event |
| ACT | constant |
public static const ACT:String = "act"
The AWEvent.ACT constant defines the value of the
type property of the event object for a act event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
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. |
| FOCUS_GAINED | constant |
public static const FOCUS_GAINED:String = "focusGained"
The AWEvent.FOCUS_GAINED constant defines the value of the
type property of the event object for a focusGained event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
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. |
| FOCUS_LOST | constant |
public static const FOCUS_LOST:String = "focusLost"
The AWEvent.FOCUS_LOST constant defines the value of the
type property of the event object for a focusLost event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
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. |
| HIDDEN | constant |
public static const HIDDEN:String = "hidden"
The AWEvent.HIDDEN constant defines the value of the
type property of the event object for a hidden event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
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. |
| PAINT | constant |
public static const PAINT:String = "paint"
The AWEvent.PAINT constant defines the value of the
type property of the event object for a paint event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
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. |
| SHOWN | constant |
public static const SHOWN:String = "shown"
The AWEvent.SHOWN constant defines the value of the
type property of the event object for a shown event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
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. |