|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebWindow
An interface that represents one window in a browser. It could be a top level window or a frame.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||