public class TopLevelWindow extends WebWindowImpl
| Modifier | Constructor and Description |
|---|---|
protected |
TopLevelWindow(String name,
WebClient webClient)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this window.
|
WebWindow |
getOpener()
Returns the opener property.
|
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 |
setOpener(WebWindow opener)
Sets the opener property.
|
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, setScriptableObjectpublic WebWindow getParentWindow()
public WebWindow getTopWindow()
protected boolean isJavaScriptInitializationNeeded()
true if this window needs JavaScript initialization to occur when the enclosed page is set.isJavaScriptInitializationNeeded in class WebWindowImpltrue if this window needs JavaScript initialization to occur when the enclosed page is setpublic String toString()
public void setOpener(WebWindow opener)
opener - the new openerpublic WebWindow getOpener()
public void close()
Copyright © 2002–2016 Gargoyle Software Inc.. All rights reserved.