public interface WebWindow
Modifier and Type | Method and Description |
---|---|
Page |
getEnclosedPage()
Return the currently loaded page or null if no page has been loaded.
|
String |
getName()
Return the name of this window.
|
WebWindow |
getParentWindow()
Return the window that contains this window.
|
Object |
getScriptObject()
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Return the javascript object that corresponds to this element. |
ThreadManager |
getThreadManager()
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Currently exposed here for testing purposes, a better API will be added in the future and this will become a completely internal class. |
WebWindow |
getTopWindow()
Return the top level window that contains this window.
|
WebClient |
getWebClient()
Return the web client that "owns" this window.
|
void |
setEnclosedPage(Page page)
Set the currently loaded page.
|
void |
setName(String name)
Set the name of this window.
|
void |
setScriptObject(Object scriptObject)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Set the javascript object that corresponds to this element. |
String getName()
void setName(String name)
name
- The new window name.Page 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()
void setScriptObject(Object scriptObject)
scriptObject
- The javascript object.Object getScriptObject()
ThreadManager getThreadManager()
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.