Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.core 
IWindow 
Packagemx.core
Interfacepublic interface IWindow
Implementors Window, Window, WindowedApplication, WindowedApplication

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: AIR 1.1

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
  AIR-only maximizable : Boolean
[read-only] Specifies whether the window can be maximized.
IWindow
  AIR-only minimizable : Boolean
[read-only] Specifies whether the window can be minimized.
IWindow
  AIR-only nativeWindow : NativeWindow
[read-only] The underlying NativeWindow that the Window component uses.
IWindow
  AIR-only resizable : Boolean
[read-only] Specifies whether the window can be resized.
IWindow
  AIR-only status : String
The string that appears in the status bar, if it is visible.
IWindow
  AIR-only systemChrome : String
[read-only] Specifies the type of system chrome (if any) the window has.
IWindow
  AIR-only title : String
The title text that appears in the window title bar and the taskbar.
IWindow
  AIR-only titleIcon : Class
The Class (usually an image) used to draw the title bar icon.
IWindow
  AIR-only transparent : Boolean
[read-only] Specifies whether the window is transparent.
IWindow
  AIR-only type : String
[read-only] Specifies the type of NativeWindow that this component represents.
IWindow
  AIR-only 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
AIR-only 

maximizable

property
maximizable:Boolean  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: AIR 1.1

Specifies whether the window can be maximized.



Implementation
    public function get maximizable():Boolean
AIR-only 

minimizable

property 
minimizable:Boolean  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: AIR 1.1

Specifies whether the window can be minimized.



Implementation
    public function get minimizable():Boolean
AIR-only 

nativeWindow

property 
nativeWindow:NativeWindow  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: AIR 1.1

The underlying NativeWindow that the Window component uses.



Implementation
    public function get nativeWindow():NativeWindow
AIR-only 

resizable

property 
resizable:Boolean  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: AIR 1.1

Specifies whether the window can be resized.



Implementation
    public function get resizable():Boolean
AIR-only 

status

property 
status:String

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: AIR 1.1

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
AIR-only 

systemChrome

property 
systemChrome:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: AIR 1.1

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

AIR-only 

title

property 
title:String

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: AIR 1.1

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
AIR-only 

titleIcon

property 
titleIcon:Class

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: AIR 1.1

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
AIR-only 

transparent

property 
transparent:Boolean  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: AIR 1.1

Specifies whether the window is transparent.



Implementation
    public function get transparent():Boolean
AIR-only 

type

property 
type:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: AIR 1.1

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

AIR-only 

visible

property 
visible:Boolean  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: AIR 1.1

Controls the window's visibility.



Implementation
    public function get visible():Boolean
Method Detail

AIR-only close

()method
public function close():void

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: AIR 1.1

Closes the window.

AIR-only maximize

()method 
public function maximize():void

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: AIR 1.1

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

AIR-only minimize

()method 
public function minimize():void

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: AIR 1.1

Minimizes the window.

AIR-only restore

()method 
public function restore():void

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: AIR 1.1

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