| Pacote | flash.html |
| Classe | public class HTMLWindowCreateOptions |
| Herança | HTMLWindowCreateOptions Object |
window.open() method.
This class defines the options that can be specified in the features
parameter passed to the window.open() method in JavaScript.
For exemplo, JavaScript in an HTML document (in an HTMLLoader object)
may include the following call to window.open(), in which
the features parameter (the third parameter) lists a number
of options:
window.open("http://www.adobe.com", "AdobeWindow", "scrollbars=1,menubar=1,location=0,status=0")You use the HTMLWindowCreateOptions class in overriding the
createWindow() method of a subclass of the
HTMLHost class. The HTMLLoader passes an HTMLWindowCreateOptions object
as the windowCreateOptions parameter of the createWindow()
method of the HTMLHost object.
Veja também
| Propriedade | Definido por | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
| fullscreen : Boolean = false
Whether the window should be fullscreen.
| HTMLWindowCreateOptions | ||
| height : Number = NaN
The desired initial height of the new window.
| HTMLWindowCreateOptions | ||
| locationBarVisible : Boolean = false
Whether a location bar should be displayed.
| HTMLWindowCreateOptions | ||
| menuBarVisible : Boolean = false
Whether a menu bar should be displayed.
| HTMLWindowCreateOptions | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| resizable : Boolean = false
Whether the window should be resizable.
| HTMLWindowCreateOptions | ||
| scrollBarsVisible : Boolean = true
Whether a scrollbar should be displayed.
| HTMLWindowCreateOptions | ||
| statusBarVisible : Boolean = false
Whether a status bar should be displayed.
| HTMLWindowCreateOptions | ||
| toolBarVisible : Boolean = false
Whether a toolbar bar should be displayed.
| HTMLWindowCreateOptions | ||
| width : Number = NaN
The desired initial width of the new window.
| HTMLWindowCreateOptions | ||
| x : Number = NaN
The desired initial x position of the new window on the screen.
| HTMLWindowCreateOptions | ||
| y : Number = NaN
The desired initial y position of the new window on the screen.
| HTMLWindowCreateOptions | ||
| fullscreen | propriedade |
public var fullscreen:Boolean = false
Whether the window should be fullscreen. This is set to true if the
features string of the JavaScript call to the window.open()
method includes "fullscreen", "fullscreen=1", or
"fullscreen=y".
| height | propriedade |
public var height:Number = NaN
The desired initial height of the new window. This is set to the height value
in the features string of the JavaScript call to the window.open()
method. If the value is NaN, the default when no height value is
specified in the features string, then a default window height is used.
| locationBarVisible | propriedade |
public var locationBarVisible:Boolean = false
Whether a location bar should be displayed. This is set to true if the
features string of the JavaScript call to the window.open()
method includes "location", "location=1", or "location=y".
| menuBarVisible | propriedade |
public var menuBarVisible:Boolean = false
Whether a menu bar should be displayed. This is set to true if the
features string of the JavaScript call to the window.open()
method includes "menubar", "menubar=1", or
"menubar=y".
| resizable | propriedade |
public var resizable:Boolean = false
Whether the window should be resizable. This is set to true if the
features string of the JavaScript call to the window.open()
method includes "resizable", "resizable=1", or
"resizable=y".
| scrollBarsVisible | propriedade |
public var scrollBarsVisible:Boolean = true
Whether a scrollbar should be displayed. This is set to true if the
features string of JavaScript call to the window.open()
method includes "scrollbars", "scrollbars=1", or
"scrollbars=y".
| statusBarVisible | propriedade |
public var statusBarVisible:Boolean = false
Whether a status bar should be displayed. This is set to true if the
features string of the JavaScript call to the window.open()
method includes "status", "status=1", or "status=y".
| toolBarVisible | propriedade |
public var toolBarVisible:Boolean = false
Whether a toolbar bar should be displayed. This is set to true if the
features string of the JavaScript call to the window.open()
method includes "toolbar", "toolbar=1", or "toolbar=y".
| width | propriedade |
public var width:Number = NaN
The desired initial width of the new window. This is set to the width value
in the features string of the JavaScript call to the window.open()
method. If the value is NaN, the default when no width value is
specified in the features string, then a default window width is used.
| x | propriedade |
public var x:Number = NaN
The desired initial x position of the new window on the screen. This is set to the
value specified for left or screenX in the features
string of the JavaScript call to the window.open() method. If the value
is NaN, the default when no left or screenX value is
specified in the features string, then a default window x position is used.
| y | propriedade |
public var y:Number = NaN
The desired initial y position of the new window on the screen. This is set to the
value specified for top or screenY in the features
string of the JavaScript call to the window.open() method. If the value is
NaN, the default when no left or screenX value is specified
in the features string, then a default window x position is used.