NamedDelegate, ScriptingEventHandler, ScriptingHandlerpublic class WebResponse.Scriptable extends ScriptableDelegate implements NamedDelegate
NULL_SCRIPT_ENGINE| Constructor | Description |
|---|---|
Scriptable() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
alertUser(java.lang.String message) |
|
void |
closeWindow() |
|
java.lang.Object |
get(java.lang.String propertyName) |
Returns the value of the named property.
|
ClientProperties |
getClientProperties() |
|
boolean |
getConfirmationResponse(java.lang.String message) |
|
HTMLPage.Scriptable |
getDocument() |
|
WebResponse.Scriptable[] |
getFrames() |
|
java.lang.String |
getName() |
|
java.net.URL |
getURL() |
|
java.lang.String |
getUserResponse(java.lang.String prompt,
java.lang.String defaultResponse) |
|
void |
load() |
|
WebResponse.Scriptable |
open(java.lang.String urlString,
java.lang.String name,
java.lang.String features,
boolean replace) |
|
void |
set(java.lang.String propertyName,
java.lang.Object value) |
Sets the value of the named property.
|
void |
setLocation(java.lang.String relativeURL) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearCaches, doEvent, doEventScript, evaluateExpression, get, getDelegates, getScriptEngine, getScriptEngine, handleEvent, runScript, setScriptEngine, supportsScriptLanguagepublic void alertUser(java.lang.String message)
public boolean getConfirmationResponse(java.lang.String message)
public java.lang.String getUserResponse(java.lang.String prompt,
java.lang.String defaultResponse)
public ClientProperties getClientProperties()
public HTMLPage.Scriptable getDocument()
public WebResponse.Scriptable[] getFrames() throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic void load()
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic WebResponse.Scriptable open(java.lang.String urlString, java.lang.String name, java.lang.String features, boolean replace) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOExceptionorg.xml.sax.SAXExceptionpublic void closeWindow()
public java.lang.Object get(java.lang.String propertyName)
get in class ScriptableDelegatepublic java.lang.String getName()
getName in interface NamedDelegatepublic void set(java.lang.String propertyName,
java.lang.Object value)
set in class ScriptableDelegatepublic void setLocation(java.lang.String relativeURL)
throws java.io.IOException,
org.xml.sax.SAXException
java.io.IOExceptionorg.xml.sax.SAXExceptionpublic java.net.URL getURL()