public abstract class WebWindowImpl extends Object implements WebWindow
WebWindow
Modifier | Constructor and Description |
---|---|
protected |
WebWindowImpl()
Deprecated.
|
|
WebWindowImpl(WebClient webClient)
Creates a window and associates it with the client
|
Modifier and Type | Method and Description |
---|---|
void |
addChildWindow(FrameWindow child)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Adds a child to this window, for shutdown purposes. |
Page |
getEnclosedPage()
Return the currently loaded page or null if no page has been loaded.
|
String |
getName()
Return the name of 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. |
WebClient |
getWebClient()
Return the web client that "owns" this window.
|
protected abstract boolean |
isJavaScriptInitializationNeeded()
Returns true if this window needs JavaScript initialization to occur when the enclosed page is set.
|
protected void |
performRegistration()
Registers the window with the client.
|
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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParentWindow, getTopWindow
protected WebWindowImpl()
public WebWindowImpl(WebClient webClient)
webClient
- The web client that "owns" this window.protected void performRegistration()
public WebClient getWebClient()
getWebClient
in interface WebWindow
public Page getEnclosedPage()
getEnclosedPage
in interface WebWindow
public void setEnclosedPage(Page page)
setEnclosedPage
in interface WebWindow
page
- The new page or null if there is no page (ie empty window)protected abstract boolean isJavaScriptInitializationNeeded()
public void setScriptObject(Object scriptObject)
setScriptObject
in interface WebWindow
scriptObject
- The javascript object.public Object getScriptObject()
getScriptObject
in interface WebWindow
public ThreadManager getThreadManager()
getThreadManager
in interface WebWindow
public void addChildWindow(FrameWindow child)
child
- The child window to associate with this window.public String getName()
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.