| Package | fin.desktop |
| Class | public class ExternalWindow |
| Inheritance | ExternalWindow Window DesktopEventManager Object |
| Property | Defined By | ||
|---|---|---|---|
| AIR_WINDOW_CLASSNAME : String = ApolloRuntimeContentWindow [static] | ExternalWindow | ||
![]() | _name : String | Window | |
![]() | _uuid : String | Window | |
| Method | Defined By | ||
|---|---|---|---|
ExternalWindow(nativeWindow:NativeWindow, uuid:String, name:String, callback:Function = null, errorCallback:Function = null) | ExternalWindow | ||
![]() | addEventListener(type:String, listener:Function, callback:Function = null, errorCallback:Function = null):void
Registers an event listener on the specified event. | DesktopEventManager | |
![]() | animate(transition:Transition, options:TransitionOptions, callback:Function = null, errorCallback:Function = null):void | Window | |
![]() | blur(callback:Function = null, errorCallback:Function = null):void | Window | |
![]() | bringToFront(callback:Function = null, errorCallback:Function = null):void | Window | |
![]() | close(callback:Function = null, errorCallback:Function = null):void
Closes the window
| Window | |
![]() | [static] | Window | |
![]() | disableFrame(callback:Function = null, errorCallback:Function = null):void | Window | |
![]() | dispatchEvent(event:Event):void | DesktopEventManager | |
![]() | enableFrame(callback:Function = null, errorCallback:Function = null):void | Window | |
![]() | flash(callback:Function = null, errorCallback:Function = null):void | Window | |
![]() | focus(callback:Function = null, errorCallback:Function = null):void | Window | |
![]() | getBounds(callback:Function = null, errorCallback:Function = null):void | Window | |
![]() | getGroup(callback:Function = null, errorCallback:Function = null):void | Window | |
![]() | getInstances():Dictionary [static] | Window | |
![]() | getNativeId(callback:Function = null, errorCallback:Function = null):void
Gets HWND of the current window
| Window | |
![]() | getOptions(callback:Function = null, errorCallback:Function = null):void | Window | |
![]() | getSnapshot(callback:Function = null, errorCallback:Function = null):void | Window | |
![]() | getState(callback:Function, errorCallback:Function = null):void
Gets the current state ("minimized", "maximized", or "restored") of the window
| Window | |
![]() | hide(callback:Function = null, errorCallback:Function = null):void
Hides the window if it is shown
| Window | |
![]() | isShowing(callback:Function = null, errorCallback:Function = null):void | Window | |
![]() | Window | ||
![]() | leaveGroup(callback:Function = null, errorCallback:Function = null):void | Window | |
![]() | maximize(callback:Function = null, errorCallback:Function = null):void
Maximizes the window
| Window | |
![]() | mergeGroup(window:Window, callback:Function = null, errorCallback:Function = null):void | Window | |
![]() | minimize(callback:Function = null, errorCallback:Function = null):void
Minimizes the window
| Window | |
![]() | moveBy(deltaLeft:Number = 0, deltaTop:Number = 0, callback:Function = null, errorCallback:Function = null):void
Moves the window by a specified amount
| Window | |
![]() | moveTo(left:Number, top:Number, callback:Function = null, errorCallback:Function = null):void
Moves the window to a specified location
| Window | |
![]() | registerExternalWindow(uuid:String, name:String, callback:Function = null, errorCallback:Function = null):Window [static] | Window | |
![]() | removeEventListener(type:String, listener:Function, callback:Function = null, errorCallback:Function = null):void
Removes a previously registered event listener from the specified event
| DesktopEventManager | |
![]() | 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 | |
![]() | resizeTo(width:Number, height:Number, anchor:String = top-left, callback:Function = null, errorCallback:Function = null):void
Resizes the window to the specified dimensions
| Window | |
![]() | restore(callback:Function = null, errorCallback:Function = null):void | Window | |
![]() | setBounds(left:Number, top:Number, width:Number, height:Number, callback:Function = null, errorCallback:Function = null):void | Window | |
![]() | show(callback:Function = null, errorCallback:Function = null):void
Shows the window if it is hidden
| Window | |
![]() | showAt(left:Number, top:Number, toggle:Boolean = false, callback:Function = null, errorCallback:Function = null):void | Window | |
![]() | updateOptions(options:WindowOptions, callback:Function = null, errorCallback:Function = null):void | Window | |
| Constant | Defined 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 | ||
| AIR_WINDOW_CLASSNAME | property |
public static var AIR_WINDOW_CLASSNAME:String = ApolloRuntimeContentWindow| ExternalWindow | () | Constructor |
public function ExternalWindow(nativeWindow:NativeWindow, uuid:String, name:String, callback:Function = null, errorCallback:Function = null)nativeWindow:NativeWindow | |
uuid:String | |
name:String | |
callback:Function (default = null) | |
errorCallback:Function (default = null) |
| SC_CLOSE | Constant |
public const SC_CLOSE:uint = 0xF060| SC_MAXIMIZE | Constant |
public const SC_MAXIMIZE:uint = 0xF030| SC_MINIMIZE | Constant |
public const SC_MINIMIZE:uint = 0xF020| SC_RESTORE | Constant |
public const SC_RESTORE:uint = 0xF120| SWP_HIDEWINDOW | Constant |
public const SWP_HIDEWINDOW:uint = 0x0080| SWP_NOMOVE | Constant |
public const SWP_NOMOVE:uint = 0x0002| SWP_NOSIZE | Constant |
public const SWP_NOSIZE:uint = 0x0001| SWP_SHOWWINDOW | Constant |
public const SWP_SHOWWINDOW:uint = 0x0040| VK_RETURN | Constant |
public const VK_RETURN:uint = 0x0D| VK_SPACE | Constant |
public const VK_SPACE:uint = 0x20| WM_CAPTURECHANGED | Constant |
public const WM_CAPTURECHANGED:uint = 0x0215| WM_DESTROY | Constant |
public const WM_DESTROY:uint = 0x0002| WM_ENTERSIZEMOVE | Constant |
public const WM_ENTERSIZEMOVE:uint = 0x0231| WM_ERASEBKGND | Constant |
public const WM_ERASEBKGND:uint = 0x0014| WM_EXITSIZEMOVE | Constant |
public const WM_EXITSIZEMOVE:uint = 0x0232| WM_KEYDOWN | Constant |
public const WM_KEYDOWN:uint = 0x0100| WM_KEYUP | Constant |
public const WM_KEYUP:uint = 0x0101| WM_KILLFOCUS | Constant |
public const WM_KILLFOCUS:uint = 0x0008| WM_LBUTTONDOWN | Constant |
public const WM_LBUTTONDOWN:uint = 0x0201| WM_LBUTTONUP | Constant |
public const WM_LBUTTONUP:uint = 0x0202| WM_MOUSEMOVE | Constant |
public const WM_MOUSEMOVE:uint = 0x0200| WM_MOVE | Constant |
public const WM_MOVE:uint = 0x0003| WM_MOVING | Constant |
public const WM_MOVING:uint = 0x0216| WM_NCLBUTTONDBLCLK | Constant |
public const WM_NCLBUTTONDBLCLK:uint = 0x00A3| WM_NCLBUTTONUP | Constant |
public const WM_NCLBUTTONUP:uint = 0x00A2| WM_NOTIFY | Constant |
public const WM_NOTIFY:uint = 0x4E| WM_PAINT | Constant |
public const WM_PAINT:uint = 0x000F| WM_SETFOCUS | Constant |
public const WM_SETFOCUS:uint = 0x0007| WM_SIZING | Constant |
public const WM_SIZING:uint = 0x0214| WM_SYSCOMMAND | Constant |
public const WM_SYSCOMMAND:uint = 0x0112| WM_WINDOWPOSCHANGED | Constant |
public const WM_WINDOWPOSCHANGED:uint = 0x0047| WM_WINDOWPOSCHANGING | Constant |
public const WM_WINDOWPOSCHANGING:uint = 0x0046