| |
|
| java.lang.Object com.gargoylesoftware.htmlunit.WebWindowImpl com.gargoylesoftware.htmlunit.TopLevelWindow
TopLevelWindow | public class TopLevelWindow extends WebWindowImpl implements Serializable(Code) | | A window representing a top level browser window.
version: $Revision: 2132 $ author: Mike Bowler author: David K. Taylor author: David D. Kilzer author: Ahmed Ashour |
TopLevelWindow | public TopLevelWindow(String name, WebClient webClient)(Code) | | Create an instance.
Parameters: name - The name of the new window Parameters: webClient - The web client that "owns" this window. |
close | public void close()(Code) | | Close this window.
|
getOpener | public WebWindow getOpener()(Code) | | Return the opener property. This is the WebWindow that caused this new window to be opened.
The opener |
getParentWindow | public WebWindow getParentWindow()(Code) | | Since this is a top level window, return this window.
|
getTopWindow | public WebWindow getTopWindow()(Code) | | Since this is a top level window, return this window.
|
isJavaScriptInitializationNeeded | protected boolean isJavaScriptInitializationNeeded()(Code) | | |
setOpener | public void setOpener(WebWindow opener)(Code) | | Set the opener property. This is the WebWindow that caused this new window to be opened.
Parameters: opener - The new opener |
toString | public String toString()(Code) | | Return a string representation of this object
A string representation of this object |
|
|
|