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, getScriptableObject, getScriptObject, getWebClient, isClosed, performRegistration, removeChildWindow, setClosed, setInnerHeight, setInnerWidth, setJobManager, setOuterHeight, setOuterWidth, setScriptableObjectpublic String getName()
getName in interface WebWindowgetName in class WebWindowImplpublic void setName(String name)
setName in interface WebWindowsetName in class WebWindowImplname - the new window namepublic WebWindow getParentWindow()
public WebWindow getTopWindow()
protected boolean isJavaScriptInitializationNeeded()
true if this window needs JavaScript initialization to occur when the enclosed page is set.isJavaScriptInitializationNeeded in class WebWindowImpltrue if this window needs JavaScript initialization to occur when the enclosed page is setpublic HtmlPage getEnclosingPage()
(HtmlPage) (getParentWindow().getEnclosedPage()).public void setEnclosedPage(Page page)
setEnclosedPage in interface WebWindowsetEnclosedPage in class WebWindowImplpage - 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.