|
||||||||||
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.html.FrameWindow
public class FrameWindow
The web window for a frame or iframe.
Method Summary | |
---|---|
HtmlPage |
getEnclosingPage()
Returns the HTML page in which the <frame> or <iframe> tag is contained for this frame window. |
BaseFrame |
getFrameElement()
Gets the DOM node of the (i)frame containing this window. |
String |
getName()
Returns the name of 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()
Returns true if this window needs JavaScript initialization to occur when the enclosed page is set. |
void |
setName(String name)
Sets the name of this window. |
String |
toString()
Gives a basic representation for debugging purposes. |
Methods inherited from class com.gargoylesoftware.htmlunit.WebWindowImpl |
---|
addChildWindow, getEnclosedPage, getHistory, getJobManager, getScriptObject, getWebClient, isClosed, performRegistration, setClosed, setEnclosedPage, setJobManager, setScriptObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getName()
getName
in interface WebWindow
getName
in class WebWindowImpl
public void setName(String name)
setName
in interface WebWindow
setName
in class WebWindowImpl
name
- the new window namepublic WebWindow getParentWindow()
public WebWindow getTopWindow()
protected boolean isJavaScriptInitializationNeeded()
isJavaScriptInitializationNeeded
in class WebWindowImpl
public HtmlPage getEnclosingPage()
(HtmlPage) (getParentWindow().getEnclosedPage())
.
public BaseFrame getFrameElement()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |