public class FrameWindow extends WebWindowImpl
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this frame window.
|
HtmlPage |
getEnclosingPage()
Returns the HTML page in which the <frame> or <iframe> tag is contained
for this frame window.
|
BaseFrameElement |
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 |
setEnclosedPage(Page page)
Sets the currently loaded page.
|
void |
setName(String name)
Sets the name of this window.
|
String |
toString()
Gives a basic representation for debugging purposes.
|
addChildWindow, destroyChildren, getEnclosedPage, getHistory, getInnerHeight, getInnerWidth, getJobManager, getOuterHeight, getOuterWidth, getScriptObject, getWebClient, isClosed, performRegistration, removeChildWindow, setClosed, setInnerHeight, setInnerWidth, setJobManager, setOuterHeight, setOuterWidth, setScriptObject
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 void setEnclosedPage(Page page)
setEnclosedPage
in interface WebWindow
setEnclosedPage
in class WebWindowImpl
page
- the new page or null if there is no page (ie empty window)public BaseFrameElement getFrameElement()
public String toString()
public void close()
Copyright © 2002–2016 Gargoyle Software Inc.. All rights reserved.