Packageqnx.events
Classpublic class IowWindowEvent
InheritanceIowWindowEvent Inheritance flash.events.Event

The IowWindowEvent defines events that are associated with composition manager windows (AIR and others).

See also

IowWindow


Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
IowWindowEvent(type:String, _pid:int, _id:String, _own:Boolean)
Creates an IowWindowEvent instance.
IowWindowEvent
Public Constants
 ConstantDefined 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
Property Detail
idproperty
public var id:String

A String representing the ID of the window.

ownWindowproperty 
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.

pidproperty 
public var pid:int

An int representing the Process ID that is associated with the window.

Constructor Detail
IowWindowEvent()Constructor
public function IowWindowEvent(type:String, _pid:int, _id:String, _own:Boolean)

Creates an IowWindowEvent instance.

Parameters
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.
Constant Detail
WINDOW_CREATEDConstant
public static const WINDOW_CREATED:String = windowCreated

Dispatched 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_DESTROYEDConstant 
public static const WINDOW_DESTROYED:String = windowDestroyed

Dispatched 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_CHANGEDConstant 
public static const WINDOW_STATE_CHANGED:String = windowStateChanged

Dispatched when the state of the window changes.

WINDOW_VISIBILITY_CHANGEDConstant 
public static const WINDOW_VISIBILITY_CHANGED:String = windowVisibilityChanged

Dispatched when the visibility of the window changes.

This applies to the AIR window only.