| Package | flash.display |
| Class | public class NativeWindowInitOptions |
| Inheritance | NativeWindowInitOptions Object |
| Language Version : | ActionScript 3.0 |
Note: For the initial application window created automatically
by AIR, all of these properties (except type) are
set in the application descriptor.
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
| maximizable : Boolean
Specifies whether the window can be maximized.
| NativeWindowInitOptions | ||
| minimizable : Boolean
Specifies whether the window can be minimized.
| NativeWindowInitOptions | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| resizable : Boolean
Specifies whether the window can be resized.
| NativeWindowInitOptions | ||
| systemChrome : String
Specifies the type of system chrome used by the window.
| NativeWindowInitOptions | ||
| transparent : Boolean
Specifies whether the window supports transparency and alpha blending against the desktop.
| NativeWindowInitOptions | ||
| type : String
Specifies the type of the window to be created.
| NativeWindowInitOptions | ||
| Method | Defined By | ||
|---|---|---|---|
|
Creates a new NativeWindowInitOptions object.
| NativeWindowInitOptions | ||
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| maximizable | property |
maximizable:Boolean [read-write]
| Language Version : | ActionScript 3.0 |
Specifies whether the window can be maximized.
For windows with system chrome, this setting will affect the appearance of the window maximize button. It will also affect other parts of the system-managed user interface, such as the window menu on Microsoft Windows.
When set to false, the window cannot be maximized.
Note: On operating systems, such as Mac OS X, in which maximizing
a window does not also prevent resizing, both maximizable and
resizable must be set to false to prevent
the window from being zoomed or resized.
public function get maximizable():Boolean
public function set maximizable(value:Boolean):void
See also
| minimizable | property |
minimizable:Boolean [read-write]
| Language Version : | ActionScript 3.0 |
Specifies whether the window can be minimized.
For windows with system chrome, this setting will affect the appearance of the window minimize button. It will also affect other parts of the system-managed user interface, such as the window menu on Microsoft Windows.
When set to false, the window cannot be minimized.
public function get minimizable():Boolean
public function set minimizable(value:Boolean):void
See also
| resizable | property |
resizable:Boolean [read-write]
| Language Version : | ActionScript 3.0 |
Specifies whether the window can be resized.
Note: On operating systems, such as Mac OS X, in which
maximizing windows is a resizing operation, both maximizable and
resizable must be set to false to prevent
the window from being zoomed or resized.
public function get resizable():Boolean
public function set resizable(value:Boolean):void
See also
| systemChrome | property |
systemChrome:String [read-write]
| Language Version : | ActionScript 3.0 |
Specifies the type of system chrome used by the window.
Chrome refers to the window controls that allow a user to control the desktop properties of a window. System chrome uses the standard controls for the desktop environment in which the AIR application is run and conforms to the standard look-and-feel of the native operating system.
To use chrome provided by a framework (such as Flex), or to provide your own window
chrome, set systemChrome to NativeWindowSystemChrome.NONE.
Constants for the valid values of this property are defined in the
NativeWindowSystemChrome class:
NativeWindowSystemChrome.NONENativeWindowSystemChrome.STANDARDNativeWindowSystemChrome.ALTERNATE (not supported in this Beta release)If not specified, the default value for systemChrome is
NativeWindowSystemChrome.STANDARD.
public function get systemChrome():String
public function set systemChrome(value:String):void
See also
| transparent | property |
transparent:Boolean [read-write]
| Language Version : | ActionScript 3.0 |
Specifies whether the window supports transparency and alpha blending against the desktop.
If true, the window display is composited against the desktop. Areas of the window
not covered by a display object, or covered by display objects with an alpha setting near zero,
are effectively invisible and will not intercept mouse events (which will be received by the
desktop object below the window). The alpha value at which an object will no longer
intercepting mouse events varies between about .06 and .01, depending on the operating system.
Setting transparent=true for a window that uses system chrome is not supported.
public function get transparent():Boolean
public function set transparent(value:Boolean):void
| type | property |
type:String [read-write]
| Language Version : | ActionScript 3.0 |
Specifies the type of the window to be created.
Window types have different system properties.
Constants for the valid values of this property are defined in the
NativeWindowType class:
NativeWindowType.NORMAL A typical window.
Normal windows use the full-size chrome and appear on the Windows
task bar and the Mac OS X window menu.NativeWindowType.UTILITY A tool palette. Utility
windows use a slimmer version of the system chrome and do not appear
on the Windows task bar and the Mac OS-X window menu.NativeWindowType.LIGHTWEIGHT lightweight windows cannot have
system chrome and do not appear on the Windows task bar and the
Mac OS X window menu. In addition, lightweight windows do not have
the System (Alt-Space) menu on Microsoft Windows. Lightweight windows
are suitable for notification bubbles and controls such as combo-boxes
that open a short-lived display area. When the lightweight type is
used, systemChrome must be set to "none."
If not specified, the default value for type is
NativeWindowType.NORMAL.
public function get type():String
public function set type(value:String):void
See also
| NativeWindowInitOptions | () | Constructor |
public function NativeWindowInitOptions()
| Language Version : | ActionScript 3.0 |
Creates a new NativeWindowInitOptions object.
The default values of the newly created object are:
systemChrome = NativeWindowSystemChrome.STANDARDtype = NativeWindowType.NORMALtransparent = falseresizable = truemaximizable = trueminimizable = true
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/labs/air/1/aslr/flash/display/NativeWindowInitOptions.html