public final class PopupFeatures
extends java.lang.Object
window.open
function. Instances are passed into popup
handlers registered on a WebEngine
using
WebEngine.setCreatePopupHandler(<any>)
method.WebEngine
,
WebEngine.setCreatePopupHandler(<any>)
Modifier and Type | Field and Description |
---|---|
private boolean |
menu |
private boolean |
resizable |
private boolean |
status |
private boolean |
toolbar |
Constructor and Description |
---|
PopupFeatures(boolean menu,
boolean status,
boolean toolbar,
boolean resizable)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasMenu()
Returns whether menu bar should be present.
|
boolean |
hasStatus()
Returns whether status bar should be present.
|
boolean |
hasToolbar()
Returns whether tool bar should be present.
|
boolean |
isResizable()
Returns whether popup window should be resizable.
|
private final boolean menu
private final boolean status
private final boolean toolbar
private final boolean resizable
public PopupFeatures(boolean menu, boolean status, boolean toolbar, boolean resizable)
menu
- whether menu bar should be presentstatus
- whether status bar should be presenttoolbar
- whether tool bar should be presentresizable
- whether popup window should be resizablepublic final boolean hasMenu()
public final boolean hasStatus()
public final boolean hasToolbar()
public final boolean isResizable()