Packagefin.desktop
Classpublic class ExternalWindow
InheritanceExternalWindow Inheritance Window Inheritance DesktopEventManager Inheritance Object



Public Properties
 PropertyDefined By
  AIR_WINDOW_CLASSNAME : String = ApolloRuntimeContentWindow
[static]
ExternalWindow
 Inherited_name : String
Window
 Inherited_uuid : String
Window
Protected Properties
 PropertyDefined By
 Inherited_connection : DesktopConnection
DesktopEventManager
 Inherited_defaultPayload : Object
DesktopEventManager
 Inherited_eventDispatcher : EventDispatcher
DesktopEventManager
 Inherited_eventTopic : String
DesktopEventManager
Public Methods
 MethodDefined By
  
ExternalWindow(nativeWindow:NativeWindow, uuid:String, name:String, callback:Function = null, errorCallback:Function = null)
ExternalWindow
 Inherited
addEventListener(type:String, listener:Function, callback:Function = null, errorCallback:Function = null):void
Registers an event listener on the specified event.
DesktopEventManager
 Inherited
animate(transition:Transition, options:TransitionOptions, callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
blur(callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
bringToFront(callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
close(callback:Function = null, errorCallback:Function = null):void
Closes the window
Window
 Inherited
[static]
Window
 Inherited
disableFrame(callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
dispatchEvent(event:Event):void
DesktopEventManager
 Inherited
enableFrame(callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
flash(callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
focus(callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
getBounds(callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
getGroup(callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
getInstances():Dictionary
[static]
Window
 Inherited
getNativeId(callback:Function = null, errorCallback:Function = null):void
Gets HWND of the current window
Window
 Inherited
getOptions(callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
getSnapshot(callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
getState(callback:Function, errorCallback:Function = null):void
Gets the current state ("minimized", "maximized", or "restored") of the window
Window
 Inherited
hide(callback:Function = null, errorCallback:Function = null):void
Hides the window if it is shown
Window
 Inherited
isShowing(callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
joinGroup(window:Window, callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
leaveGroup(callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
maximize(callback:Function = null, errorCallback:Function = null):void
Maximizes the window
Window
 Inherited
mergeGroup(window:Window, callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
minimize(callback:Function = null, errorCallback:Function = null):void
Minimizes the window
Window
 Inherited
moveBy(deltaLeft:Number = 0, deltaTop:Number = 0, callback:Function = null, errorCallback:Function = null):void
Moves the window by a specified amount
Window
 Inherited
moveTo(left:Number, top:Number, callback:Function = null, errorCallback:Function = null):void
Moves the window to a specified location
Window
 Inherited
registerExternalWindow(uuid:String, name:String, callback:Function = null, errorCallback:Function = null):Window
[static]
Window
 Inherited
removeEventListener(type:String, listener:Function, callback:Function = null, errorCallback:Function = null):void
Removes a previously registered event listener from the specified event
DesktopEventManager
 Inherited
resizeBy(deltaWidth:Number = 0, deltaHeight:Number = 0, anchor:String = top-left, callback:Function = null, errorCallback:Function = null):void
Resizes the window by the specified amount
Window
 Inherited
resizeTo(width:Number, height:Number, anchor:String = top-left, callback:Function = null, errorCallback:Function = null):void
Resizes the window to the specified dimensions
Window
 Inherited
restore(callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
setBounds(left:Number, top:Number, width:Number, height:Number, callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
show(callback:Function = null, errorCallback:Function = null):void
Shows the window if it is hidden
Window
 Inherited
showAt(left:Number, top:Number, toggle:Boolean = false, callback:Function = null, errorCallback:Function = null):void
Window
 Inherited
updateOptions(options:WindowOptions, callback:Function = null, errorCallback:Function = null):void
Window
Protected Methods
 MethodDefined By
 Inherited
createPayload(object:Object = null):Object
DesktopEventManager
 Inherited
sendMessage(action:String, payload:Object, callback:Function = null, errorCallback:Function = null):void
[static]
DesktopEventManager
Public Constants
 ConstantDefined By
  SC_CLOSE : uint = 0xF060
ExternalWindow
  SC_MAXIMIZE : uint = 0xF030
ExternalWindow
  SC_MINIMIZE : uint = 0xF020
ExternalWindow
  SC_RESTORE : uint = 0xF120
ExternalWindow
  SWP_HIDEWINDOW : uint = 0x0080
ExternalWindow
  SWP_NOMOVE : uint = 0x0002
ExternalWindow
  SWP_NOSIZE : uint = 0x0001
ExternalWindow
  SWP_SHOWWINDOW : uint = 0x0040
ExternalWindow
  VK_RETURN : uint = 0x0D
ExternalWindow
  VK_SPACE : uint = 0x20
ExternalWindow
  WM_CAPTURECHANGED : uint = 0x0215
ExternalWindow
  WM_DESTROY : uint = 0x0002
ExternalWindow
  WM_ENTERSIZEMOVE : uint = 0x0231
ExternalWindow
  WM_ERASEBKGND : uint = 0x0014
ExternalWindow
  WM_EXITSIZEMOVE : uint = 0x0232
ExternalWindow
  WM_KEYDOWN : uint = 0x0100
ExternalWindow
  WM_KEYUP : uint = 0x0101
ExternalWindow
  WM_KILLFOCUS : uint = 0x0008
ExternalWindow
  WM_LBUTTONDOWN : uint = 0x0201
ExternalWindow
  WM_LBUTTONUP : uint = 0x0202
ExternalWindow
  WM_MOUSEMOVE : uint = 0x0200
ExternalWindow
  WM_MOVE : uint = 0x0003
ExternalWindow
  WM_MOVING : uint = 0x0216
ExternalWindow
  WM_NCLBUTTONDBLCLK : uint = 0x00A3
ExternalWindow
  WM_NCLBUTTONUP : uint = 0x00A2
ExternalWindow
  WM_NOTIFY : uint = 0x4E
ExternalWindow
  WM_PAINT : uint = 0x000F
ExternalWindow
  WM_SETFOCUS : uint = 0x0007
ExternalWindow
  WM_SIZING : uint = 0x0214
ExternalWindow
  WM_SYSCOMMAND : uint = 0x0112
ExternalWindow
  WM_WINDOWPOSCHANGED : uint = 0x0047
ExternalWindow
  WM_WINDOWPOSCHANGING : uint = 0x0046
ExternalWindow
Property Detail
AIR_WINDOW_CLASSNAMEproperty
public static var AIR_WINDOW_CLASSNAME:String = ApolloRuntimeContentWindow

Constructor Detail
ExternalWindow()Constructor
public function ExternalWindow(nativeWindow:NativeWindow, uuid:String, name:String, callback:Function = null, errorCallback:Function = null)



Parameters
nativeWindow:NativeWindow
 
uuid:String
 
name:String
 
callback:Function (default = null)
 
errorCallback:Function (default = null)
Constant Detail
SC_CLOSEConstant
public const SC_CLOSE:uint = 0xF060

SC_MAXIMIZEConstant 
public const SC_MAXIMIZE:uint = 0xF030

SC_MINIMIZEConstant 
public const SC_MINIMIZE:uint = 0xF020

SC_RESTOREConstant 
public const SC_RESTORE:uint = 0xF120

SWP_HIDEWINDOWConstant 
public const SWP_HIDEWINDOW:uint = 0x0080

SWP_NOMOVEConstant 
public const SWP_NOMOVE:uint = 0x0002

SWP_NOSIZEConstant 
public const SWP_NOSIZE:uint = 0x0001

SWP_SHOWWINDOWConstant 
public const SWP_SHOWWINDOW:uint = 0x0040

VK_RETURNConstant 
public const VK_RETURN:uint = 0x0D

VK_SPACEConstant 
public const VK_SPACE:uint = 0x20

WM_CAPTURECHANGEDConstant 
public const WM_CAPTURECHANGED:uint = 0x0215

WM_DESTROYConstant 
public const WM_DESTROY:uint = 0x0002

WM_ENTERSIZEMOVEConstant 
public const WM_ENTERSIZEMOVE:uint = 0x0231

WM_ERASEBKGNDConstant 
public const WM_ERASEBKGND:uint = 0x0014

WM_EXITSIZEMOVEConstant 
public const WM_EXITSIZEMOVE:uint = 0x0232

WM_KEYDOWNConstant 
public const WM_KEYDOWN:uint = 0x0100

WM_KEYUPConstant 
public const WM_KEYUP:uint = 0x0101

WM_KILLFOCUSConstant 
public const WM_KILLFOCUS:uint = 0x0008

WM_LBUTTONDOWNConstant 
public const WM_LBUTTONDOWN:uint = 0x0201

WM_LBUTTONUPConstant 
public const WM_LBUTTONUP:uint = 0x0202

WM_MOUSEMOVEConstant 
public const WM_MOUSEMOVE:uint = 0x0200

WM_MOVEConstant 
public const WM_MOVE:uint = 0x0003

WM_MOVINGConstant 
public const WM_MOVING:uint = 0x0216

WM_NCLBUTTONDBLCLKConstant 
public const WM_NCLBUTTONDBLCLK:uint = 0x00A3

WM_NCLBUTTONUPConstant 
public const WM_NCLBUTTONUP:uint = 0x00A2

WM_NOTIFYConstant 
public const WM_NOTIFY:uint = 0x4E

WM_PAINTConstant 
public const WM_PAINT:uint = 0x000F

WM_SETFOCUSConstant 
public const WM_SETFOCUS:uint = 0x0007

WM_SIZINGConstant 
public const WM_SIZING:uint = 0x0214

WM_SYSCOMMANDConstant 
public const WM_SYSCOMMAND:uint = 0x0112

WM_WINDOWPOSCHANGEDConstant 
public const WM_WINDOWPOSCHANGED:uint = 0x0047

WM_WINDOWPOSCHANGINGConstant 
public const WM_WINDOWPOSCHANGING:uint = 0x0046