public class FrameWindow extends WebWindowImpl
Modifier and Type | Method and Description |
---|---|
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.
|
addChildWindow, getEnclosedPage, getHistory, getJobManager, getScriptObject, getWebClient, performRegistration, setEnclosedPage, setJobManager, 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 BaseFrame getFrameElement()
Copyright © 2002–2014 Gargoyle Software Inc.. All rights reserved.