public interface WebWindow extends Serializable
Modifier and Type | Method and Description |
---|---|
Page |
getEnclosedPage()
Returns the currently loaded page or null if no page has been loaded.
|
History |
getHistory()
Returns this window's navigation history.
|
JavaScriptJobManager |
getJobManager()
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Returns the job manager for this window. |
String |
getName()
Returns the name of this window.
|
WebWindow |
getParentWindow()
Returns the window that contains this window.
|
Object |
getScriptObject()
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Returns the JavaScript object that corresponds to this element. |
WebWindow |
getTopWindow()
Returns the top level window that contains this window.
|
WebClient |
getWebClient()
Returns the web client that "owns" this window.
|
boolean |
isClosed()
Indicates if this window is closed.
|
void |
setEnclosedPage(Page page)
Sets the currently loaded page.
|
void |
setName(String name)
Sets the name of this window.
|
void |
setScriptObject(Object scriptObject)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Sets the JavaScript object that corresponds to this element. |
String getName()
void setName(String name)
name
- the new window namePage getEnclosedPage()
void setEnclosedPage(Page page)
page
- the new page or null if there is no page (ie empty window)WebWindow getParentWindow()
WebWindow getTopWindow()
WebClient getWebClient()
History getHistory()
void setScriptObject(Object scriptObject)
scriptObject
- the JavaScript objectObject getScriptObject()
JavaScriptJobManager getJobManager()
boolean isClosed()
true
when the window is closedCopyright © 2002–2014 Gargoyle Software Inc.. All rights reserved.