public class TopLevelWindow extends WebWindowImpl implements Serializable
Constructor and Description |
---|
TopLevelWindow(String name,
WebClient webClient)
Create an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this window.
|
WebWindow |
getOpener()
Return the opener property.
|
WebWindow |
getParentWindow()
Return the window that contains this window.
|
WebWindow |
getTopWindow()
Return 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)
Set the opener property.
|
String |
toString()
Return a string representation of this object
|
addChildWindow, getEnclosedPage, getName, getScriptObject, getThreadManager, getWebClient, performRegistration, setEnclosedPage, setName, setScriptObject
public WebWindow getParentWindow()
getParentWindow
in interface WebWindow
public WebWindow getTopWindow()
getTopWindow
in interface WebWindow
protected boolean isJavaScriptInitializationNeeded()
isJavaScriptInitializationNeeded
in class WebWindowImpl
public String toString()
public void setOpener(WebWindow opener)
opener
- The new openerpublic WebWindow getOpener()
public void close()
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.