|
|||||
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()
Return 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. |
java.lang.String |
getName()
Return the name of this window. A FrameWindow shares it's name with it's containing frame. |
WebWindow |
getParentWindow()
Return the window that contains this window. |
WebWindow |
getTopWindow()
Return the top level window that contains this window. |
void |
setName(java.lang.String name)
Set the name of this window. A FrameWindow shares it's name with it's containing frame. |
java.lang.String |
toString()
Gives a basic representation for debugging purposes |
Methods inherited from class com.gargoylesoftware.htmlunit.WebWindowImpl |
---|
addChildWindow, getEnclosedPage, getScriptObject, getThreadManager, getWebClient, setEnclosedPage, setScriptObject |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public HtmlPage getEnclosingPage()
(HtmlPage) (getParentWindow().getEnclosedPage())
.
public BaseFrame getFrameElement()
public java.lang.String getName()
getName
in interface WebWindow
getName
in class WebWindowImpl
public WebWindow getParentWindow()
public WebWindow getTopWindow()
public void setName(java.lang.String name)
setName
in interface WebWindow
setName
in class WebWindowImpl
name
- The new window name.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |