public class DialogWindow extends WebWindowImpl
Modifier | Constructor and Description |
---|---|
protected |
DialogWindow(WebClient webClient,
Object arguments)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this window.
|
WebWindow |
getParentWindow()
Returns the window that contains this window.
|
WebWindow |
getTopWindow()
Returns the top level window that contains this window.
|
protected boolean |
isJavaScriptInitializationNeeded()
Returns
true if this window needs JavaScript initialization to occur when the enclosed page is set. |
void |
setScriptableObject(net.sourceforge.htmlunit.corejs.javascript.ScriptableObject scriptObject)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Sets the JavaScript object that corresponds to this element. |
String |
toString()
Returns a string representation of this object.
|
addChildWindow, destroyChildren, getEnclosedPage, getHistory, getInnerHeight, getInnerWidth, getJobManager, getName, getOuterHeight, getOuterWidth, getScriptableObject, getScriptObject, getWebClient, isClosed, performRegistration, removeChildWindow, setClosed, setEnclosedPage, setInnerHeight, setInnerWidth, setJobManager, setName, setOuterHeight, setOuterWidth
protected boolean isJavaScriptInitializationNeeded()
true
if this window needs JavaScript initialization to occur when the enclosed page is set.isJavaScriptInitializationNeeded
in class WebWindowImpl
true
if this window needs JavaScript initialization to occur when the enclosed page is setpublic WebWindow getParentWindow()
public WebWindow getTopWindow()
public void setScriptableObject(net.sourceforge.htmlunit.corejs.javascript.ScriptableObject scriptObject)
setScriptableObject
in interface WebWindow
setScriptableObject
in class WebWindowImpl
scriptObject
- the JavaScript objectpublic void close()
Copyright © 2002–2016 Gargoyle Software Inc.. All rights reserved.