public class DialogWindow extends WebWindowImpl
window.showModalDialog
or window.showModelessDialog.| 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(Page page)
Returns
true if this window needs JavaScript initialization to occur when the enclosed page is set. |
<T extends HtmlUnitScriptable> |
setScriptableObject(T scriptObject)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
String |
toString()
Returns a string representation of this object.
|
addChildWindow, destroyChildren, getComputedStyle, getEnclosedPage, getHistory, getInnerHeight, getInnerWidth, getJobManager, getName, getOuterHeight, getOuterWidth, getScreen, getScriptableObject, getWebClient, isClosed, performRegistration, removeChildWindow, setClosed, setEnclosedPage, setInnerHeight, setInnerWidth, setJobManager, setName, setOuterHeight, setOuterWidthprotected boolean isJavaScriptInitializationNeeded(Page page)
true if this window needs JavaScript initialization to occur when the enclosed page is set.isJavaScriptInitializationNeeded in class WebWindowImplpage - the page that will become the enclosing pagetrue if this window needs JavaScript initialization to occur when the enclosed page is setpublic WebWindow getParentWindow()
public WebWindow getTopWindow()
public <T extends HtmlUnitScriptable> void setScriptableObject(T scriptObject)
setScriptableObject in interface WebWindowsetScriptableObject in class WebWindowImplT - the object typescriptObject - the JavaScript objectpublic void close()
Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.