(AIR only)
Packagemx.core
Interfacepublic interface IWindow
Implementors Window, WindowedApplication

The IWindow interface defines the API for components that serve as top-level containers in Flex-based AIR applications (containers that represent operating system windows).



Public Properties
 PropertyDefined By
  maximizable : Boolean
[read-only] Specifies whether the window can be maximized.
IWindow
  minimizable : Boolean
[read-only] Specifies whether the window can be minimized.
IWindow
  nativeWindow : NativeWindow
[read-only] The underlying NativeWindow that the Window component uses.
IWindow
  resizable : Boolean
[read-only] Specifies whether the window can be resized.
IWindow
  status : String
The string that appears in the status bar, if it is visible.
IWindow
  systemChrome : String
[read-only] Specifies the type of system chrome (if any) the window has.
IWindow
  title : String
The title text that appears in the window title bar and the taskbar.
IWindow
  titleIcon : Class
The Class (usually an image) used to draw the title bar icon.
IWindow
  transparent : Boolean
[read-only] Specifies whether the window is transparent.
IWindow
  type : String
[read-only] Specifies the type of NativeWindow that this component represents.
IWindow
  visible : Boolean
[read-only] Controls the window's visibility.
IWindow
Public Methods
 MethodDefined By
  
Closes the window.
IWindow
  
Maximizes the window, or does nothing if it's already maximized.
IWindow
  
Minimizes the window.
IWindow
  
Restores the window (unmaximizes it if it's maximized, or unminimizes it if it's minimized).
IWindow
Property Detail
maximizableproperty
maximizable:Boolean  [read-only]

Specifies whether the window can be maximized.



Implementation
    public function get maximizable():Boolean
minimizableproperty 
minimizable:Boolean  [read-only]

Specifies whether the window can be minimized.



Implementation
    public function get minimizable():Boolean
nativeWindowproperty 
nativeWindow:NativeWindow  [read-only]

The underlying NativeWindow that the Window component uses.



Implementation
    public function get nativeWindow():NativeWindow
resizableproperty 
resizable:Boolean  [read-only]

Specifies whether the window can be resized.



Implementation
    public function get resizable():Boolean
statusproperty 
status:String

The string that appears in the status bar, if it is visible.



Implementation
    public function get status():String
    public function set status(value:String):void
systemChromeproperty 
systemChrome:String  [read-only]

Specifies the type of system chrome (if any) the window has. The set of possible values is defined by the constants in the NativeWindowSystemChrome class.



Implementation
    public function get systemChrome():String

See also

titleproperty 
title:String

The title text that appears in the window title bar and the taskbar.



Implementation
    public function get title():String
    public function set title(value:String):void
titleIconproperty 
titleIcon:Class

The Class (usually an image) used to draw the title bar icon.



Implementation
    public function get titleIcon():Class
    public function set titleIcon(value:Class):void
transparentproperty 
transparent:Boolean  [read-only]

Specifies whether the window is transparent.



Implementation
    public function get transparent():Boolean
typeproperty 
type:String  [read-only]

Specifies the type of NativeWindow that this component represents. The set of possible values is defined by the constants in the NativeWindowType class.



Implementation
    public function get type():String

See also

visibleproperty 
visible:Boolean  [read-only]

Controls the window's visibility.



Implementation
    public function get visible():Boolean
Method Detail
close()method
public function close():void

Closes the window.

maximize()method 
public function maximize():void

Maximizes the window, or does nothing if it's already maximized.

minimize()method 
public function minimize():void

Minimizes the window.

restore()method 
public function restore():void

Restores the window (unmaximizes it if it's maximized, or unminimizes it if it's minimized).