| Package | qnx.events |
| Class | public class IowWindowEvent |
| Inheritance | IowWindowEvent flash.events.Event |
IowWindowEvent defines events that are associated with composition manager windows (AIR and others).
See also
| Property | Defined By | ||
|---|---|---|---|
| id : String
A String representing the ID of the window. | IowWindowEvent | ||
| ownWindow : Boolean
Returns a Boolean that indicates if the window belongs to this process. | IowWindowEvent | ||
| pid : int
An int representing the Process ID that is associated with the window. | IowWindowEvent | ||
| Method | Defined By | ||
|---|---|---|---|
IowWindowEvent(type:String, _pid:int, _id:String, _own:Boolean)
Creates an IowWindowEvent instance. | IowWindowEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| WINDOW_CREATED : String = windowCreated [static]
Dispatched when a window is
created. | IowWindowEvent | ||
| WINDOW_DESTROYED : String = windowDestroyed [static]
Dispatched when a window is
destroyed. | IowWindowEvent | ||
| WINDOW_STATE_CHANGED : String = windowStateChanged [static]
Dispatched when the state of
the window changes. | IowWindowEvent | ||
| WINDOW_VISIBILITY_CHANGED : String = windowVisibilityChanged [static]
Dispatched when the visibility of
the window changes. | IowWindowEvent | ||
| id | property |
public var id:StringA String representing the ID of the window.
| ownWindow | property |
public var ownWindow:Boolean
Returns a Boolean that indicates if the window belongs to this process. true if window belongs
to this process, otherwise false.
| pid | property |
public var pid:intAn int representing the Process ID that is associated with the window.
| IowWindowEvent | () | Constructor |
public function IowWindowEvent(type:String, _pid:int, _id:String, _own:Boolean)
Creates an IowWindowEvent instance.
type:String — The Event type. One of WINDOW_CREATED, WINDOW_DESTROYED, or WINDOW_VISIBILITY_CHANGED.
| |
_pid:int — The process ID that owns the window.
| |
_id:String — The ID of the window.
| |
_own:Boolean — A Booleam that indicates whether or not the window belongs to this process.
|
| WINDOW_CREATED | Constant |
public static const WINDOW_CREATED:String = windowCreatedDispatched when a window is created.
The event is dispatched to both the IowWindow object that is associated
with the window (based on pid and id properties) as well as to the main
AIR window.
| WINDOW_DESTROYED | Constant |
public static const WINDOW_DESTROYED:String = windowDestroyedDispatched when a window is destroyed.
The event is dispatched by both the IowWindow object that is associated
with the window (based on pid and id properties) as well as to the main
AIR window.
| WINDOW_STATE_CHANGED | Constant |
public static const WINDOW_STATE_CHANGED:String = windowStateChangedDispatched when the state of the window changes.
| WINDOW_VISIBILITY_CHANGED | Constant |
public static const WINDOW_VISIBILITY_CHANGED:String = windowVisibilityChangedDispatched when the visibility of the window changes.
This applies to the AIR window only.