Top Description Fields Constructors Methods
javafx.scene.web

public final Class PopupFeatures

extends Object
Class Inheritance
Imports
javafx.beans.NamedArg

This class describes features of a Web popup window as specified by JavaScript window.open function. Instances are passed into popup handlers registered on a WebEngine using WebEngine#setCreatePopupHandler method.
Since
JavaFX 2.0
See Also
WebEngine, WebEngine#setCreatePopupHandler

Field Summary

Modifier and TypeField and Description
private final boolean
private final boolean
private final boolean

Constructor Summary

AccessConstructor and Description
public
PopupFeatures(boolean
whether menu bar should be present
menu
,
boolean
whether status bar should be present
status
,
boolean
whether tool bar should be present
toolbar
,
boolean
whether popup window should be resizable
resizable
)

Creates a new instance.

Method Summary

Modifier and TypeMethod and Description
public final boolean

Returns:

true if the menu bar should be present
hasMenu
()

Returns whether menu bar should be present.

public final boolean

Returns:

true if the status bar should be present
hasStatus
()

Returns whether status bar should be present.

public final boolean

Returns:

true if the tool bar should be present
hasToolbar
()

Returns whether tool bar should be present.

public final boolean

Returns:

true if the popup window should be resizable
isResizable
()

Returns whether popup window should be resizable.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

resizableback to summary
private final boolean resizable
statusback to summary
private final boolean status
toolbarback to summary
private final boolean toolbar

Constructor Detail

PopupFeaturesback to summary
public PopupFeatures(boolean menu, boolean status, boolean toolbar, boolean resizable)

Creates a new instance.

Parameters
menu:boolean

whether menu bar should be present

status:boolean

whether status bar should be present

toolbar:boolean

whether tool bar should be present

resizable:boolean

whether popup window should be resizable

Method Detail

hasMenuback to summary
public final boolean hasMenu()

Returns whether menu bar should be present.

Returns:boolean

true if the menu bar should be present

hasStatusback to summary
public final boolean hasStatus()

Returns whether status bar should be present.

Returns:boolean

true if the status bar should be present

hasToolbarback to summary
public final boolean hasToolbar()

Returns whether tool bar should be present.

Returns:boolean

true if the tool bar should be present

isResizableback to summary
public final boolean isResizable()

Returns whether popup window should be resizable.

Returns:boolean

true if the popup window should be resizable