public class FrameWindow extends WebWindowImpl
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getName()
Return the name of this window.
|
WebWindow |
getParentWindow()
Return the window that contains this window.
|
WebWindow |
getTopWindow()
Return 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)
Set the name of this window.
|
String |
toString()
Gives a basic representation for debugging purposes
|
addChildWindow, getEnclosedPage, getScriptObject, getThreadManager, getWebClient, performRegistration, setEnclosedPage, setScriptObjectpublic String getName()
getName in interface WebWindowgetName in class WebWindowImplpublic void setName(String name)
setName in interface WebWindowsetName in class WebWindowImplname - The new window name.public WebWindow getParentWindow()
public WebWindow getTopWindow()
protected boolean isJavaScriptInitializationNeeded()
isJavaScriptInitializationNeeded in class WebWindowImplpublic HtmlPage getEnclosingPage()
(HtmlPage) (getParentWindow().getEnclosedPage()).public BaseFrame getFrameElement()
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.