Pacoteflash.display
Classepublic class NativeWindowInitOptions
HerançaNativeWindowInitOptions Inheritance Object

The NativeWindowInitOptions class specifies the initialization options for constructing new NativeWindows. The window properties defined in these initialization options cannot be changed after a window is created.

Veja também

flash.display.NativeWindow
flash.display.NativeWindowType
flash.display.NativeWindowSystemChrome


Propriedades Públicas
 PropriedadeDefinido por
  appearsInWindowMenu : Boolean
NativeWindowInitOptions
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  hasMenu : Boolean
NativeWindowInitOptions
  maximizable : Boolean
Specifies whether the window can be maximized.
NativeWindowInitOptions
  minimizable : Boolean
Specifies whether the window can be minimized.
NativeWindowInitOptions
 Inheritedprototype : 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
Métodos Públicos
 MétodoDefinido por
  
Creates a new NativeWindowInitOptions object.
NativeWindowInitOptions
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Detalhes da propriedade
appearsInWindowMenupropriedade
appearsInWindowMenu:Boolean  [read-write]
Implementação
    public function get appearsInWindowMenu():Boolean
    public function set appearsInWindowMenu(value:Boolean):void
hasMenupropriedade 
hasMenu:Boolean  [read-write]
Implementação
    public function get hasMenu():Boolean
    public function set hasMenu(value:Boolean):void
maximizablepropriedade 
maximizable:Boolean  [read-write]

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.


Implementação
    public function get maximizable():Boolean
    public function set maximizable(value:Boolean):void

Veja também

minimizablepropriedade 
minimizable:Boolean  [read-write]

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.


Implementação
    public function get minimizable():Boolean
    public function set minimizable(value:Boolean):void

Veja também

resizablepropriedade 
resizable:Boolean  [read-write]

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.


Implementação
    public function get resizable():Boolean
    public function set resizable(value:Boolean):void

Veja também

systemChromepropriedade 
systemChrome:String  [read-write]

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:

If not specified, the default value for systemChrome is NativeWindowSystemChrome.STANDARD.


Implementação
    public function get systemChrome():String
    public function set systemChrome(value:String):void

Veja também

transparentpropriedade 
transparent:Boolean  [read-write]

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 threshold for 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.


Implementação
    public function get transparent():Boolean
    public function set transparent(value:Boolean):void
typepropriedade 
type:String  [read-write]

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:

If not specified, the default value for type is NativeWindowType.NORMAL.


Implementação
    public function get type():String
    public function set type(value:String):void

Veja também

Detalhes do construtor
NativeWindowInitOptions()Construtor
public function NativeWindowInitOptions()

Creates a new NativeWindowInitOptions object.

The default values of the newly created object are: