qnx.events.IowWindowEvent

IowWindowEvent

Properties | Methods | Constants


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

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

Class information:
PlayBook Tablet OS Version:   1.0.6

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
  GROUP_FOCUS_GAINED : String = groupFocusGained
[static] Dispatched when the window gains keyboard focus for a window group.
IowWindowEvent
  GROUP_FOCUS_LOST : String = groupFocusLost
[static] Dispatched when the window loses keyboard focus for a window group.
IowWindowEvent
  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

id


public var id:String

A String representing the ID of the window.

ownWindow


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


public var pid:int

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

Constructor Detail

IowWindowEvent()


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

GROUP_FOCUS_GAINED


public static const GROUP_FOCUS_GAINED:String = groupFocusGained

Dispatched when the window gains keyboard focus for a window group.

GROUP_FOCUS_LOST


public static const GROUP_FOCUS_LOST:String = groupFocusLost

Dispatched when the window loses keyboard focus for a window group.

WINDOW_CREATED


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_DESTROYED


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_CHANGED


public static const WINDOW_STATE_CHANGED:String = windowStateChanged

Dispatched when the state of the window changes.

WINDOW_VISIBILITY_CHANGED


public static const WINDOW_VISIBILITY_CHANGED:String = windowVisibilityChanged

Dispatched when the visibility of the window changes.

This applies to the AIR window only.