| Package | org.aswing.event |
| Class | public class WindowEvent |
| Inheritance | WindowEvent InteractiveEvent AWEvent flash.events.Event |
See also
| Method | Defined by | ||
|---|---|---|---|
|
WindowEvent(type:String, programmatic:Boolean = false)
| WindowEvent | ||
|
clone():Event
| WindowEvent | ||
![]() |
isProgrammatic():Boolean
Returns the programmatic property.
| InteractiveEvent | |
| 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 | |
![]() | SCROLL_CHANGED : String = "scrollChanged" [static]
The
InteractiveEvent.SCROLL_CHANGED constant defines the value of the
type property of the event object for a scrollChanged event. | InteractiveEvent | |
![]() | SELECTION_CHANGED : String = "selectionChanged" [static]
The
InteractiveEvent.SELECTION_CHANGED constant defines the value of the
type property of the event object for a selectionChanged event. | InteractiveEvent | |
![]() | SHOWN : String = "shown" [static]
The
AWEvent.SHOWN constant defines the value of the
type property of the event object for a shown event. | AWEvent | |
![]() | STATE_CHANGED : String = "stateChanged" [static]
The
InteractiveEvent.STATE_CHANGED constant defines the value of the
type property of the event object for a stateChanged event. | InteractiveEvent | |
![]() | TEXT_CHANGED : String = "textChanged" [static]
The
InteractiveEvent.TEXT_CHANGED constant defines the value of the
type property of the event object for a textChanged event. | InteractiveEvent | |
| WINDOW_ACTIVATED : String = "windowActived" [static]
The
WindowEvent.WINDOW_ACTIVATED constant defines the value of the
type property of the event object for a windowActived event. | WindowEvent | ||
| WINDOW_DEACTIVATED : String = "windowDeactived" [static]
The
WindowEvent.WINDOW_DEACTIVATED constant defines the value of the
type property of the event object for a windowDeactived event. | WindowEvent | ||
| WindowEvent | () | constructor |
public function WindowEvent(type:String, programmatic:Boolean = false)Parameters
type:String |
|
programmatic:Boolean (default = false) |
| clone | () | method |
public override function clone():Event
Returns
Event |
| WINDOW_ACTIVATED | constant |
public static const WINDOW_ACTIVATED:String = "windowActived"
The WindowEvent.WINDOW_ACTIVATED constant defines the value of the
type property of the event object for a windowActived event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
isProgrammatic() | True means this event is fired by the programmatic reason, false means user mouse/keyboard interaction reason. |
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. |
| WINDOW_DEACTIVATED | constant |
public static const WINDOW_DEACTIVATED:String = "windowDeactived"
The WindowEvent.WINDOW_DEACTIVATED constant defines the value of the
type property of the event object for a windowDeactived event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
isProgrammatic() | True means this event is fired by the programmatic reason, false means user mouse/keyboard interaction reason. |
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. |