Properties Methods Events Config Options Direct Link
Observable
  NativeObservable
    NativeWindow

Class Ext.air.NativeWindow

Package:Ext.air
Defined In:NativeWindow.js
Class:NativeWindow
Extends:NativeObservable
* Wraps the AIR NativeWindow class to give an Ext friendly API.

This class also adds automatic state management (position and size) for the window (by id) and it can be used for easily creating "minimize to system tray" for the main window in your application.

Note: Many of the config options for this class can only be applied to NEW windows. Passing in an existing instance of a window along with those config options will have no effect.

Config Options

Config Options Defined By
  chrome : String
The native window chrome (defaults to 'standard', can also be 'none').
NativeWindow
  height : Number
NativeWindow
  instance : air.NativeWindow
The native window instance to wrap. If undefined, a new window will be created.
NativeWindow
  maximizable : Boolean
NativeWindow
  minimizable : Boolean
NativeWindow
  resizable : Boolean
NativeWindow
  transparent : Boolean
NativeWindow
  trayIcon : String
The icon to display when minimized in the system tray
NativeWindow
  trayMenu : NativeMenu
Menu to display when the tray icon is right clicked
NativeWindow
  trayTip : String
Tooltip for the tray icon
NativeWindow
  type : String
The native window type - normal, utility or lightweight. (defaults to normal)
NativeWindow
  width : Number
NativeWindow

Public Properties

Property Defined By
  id : String
NativeWindow

Public Methods

Method Defined By

Public Events

Event Defined By