|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gargoylesoftware.htmlunit.WebWindowImpl
com.gargoylesoftware.htmlunit.TopLevelWindow
public class TopLevelWindow
A window representing a top level browser window.
| Constructor Summary | |
|---|---|
protected |
TopLevelWindow(String name,
WebClient webClient)
Creates an instance. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.gargoylesoftware.htmlunit.WebWindowImpl |
|---|
addChildWindow, getEnclosedPage, getHistory, getJobManager, getName, getScriptObject, getWebClient, isClosed, performRegistration, setClosed, setEnclosedPage, setJobManager, setName, setScriptObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected TopLevelWindow(String name,
WebClient webClient)
name - the name of the new windowwebClient - the web client that "owns" this window| Method Detail |
|---|
public WebWindow getParentWindow()
public WebWindow getTopWindow()
protected boolean isJavaScriptInitializationNeeded()
isJavaScriptInitializationNeeded in class WebWindowImplpublic String toString()
toString in class Objectpublic void setOpener(WebWindow opener)
opener - the new openerpublic WebWindow getOpener()
public void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||