public class WebResponse.Scriptable extends ScriptableDelegate implements NamedDelegate
NULL_SCRIPT_ENGINE
Constructor and Description |
---|
WebResponse.Scriptable() |
Modifier and Type | Method and Description |
---|---|
void |
alertUser(String message) |
void |
closeWindow() |
Object |
get(String propertyName)
Returns the value of the named property.
|
ClientProperties |
getClientProperties() |
boolean |
getConfirmationResponse(String message) |
HTMLPage.Scriptable |
getDocument() |
WebResponse.Scriptable[] |
getFrames() |
String |
getName() |
URL |
getURL() |
String |
getUserResponse(String prompt,
String defaultResponse) |
void |
load() |
WebResponse.Scriptable |
open(String urlString,
String name,
String features,
boolean replace) |
void |
set(String propertyName,
Object value)
Sets the value of the named property.
|
void |
setLocation(String relativeURL) |
clearCaches, doEvent, doEventScript, evaluateExpression, get, getDelegates, getScriptEngine, getScriptEngine, handleEvent, runScript, setScriptEngine, supportsScriptLanguage
public void alertUser(String message)
public boolean getConfirmationResponse(String message)
public ClientProperties getClientProperties()
public HTMLPage.Scriptable getDocument()
public WebResponse.Scriptable[] getFrames() throws SAXException
SAXException
public void load() throws SAXException
SAXException
public WebResponse.Scriptable open(String urlString, String name, String features, boolean replace) throws IOException, SAXException
IOException
SAXException
public void closeWindow()
public Object get(String propertyName)
get
in class ScriptableDelegate
public String getName()
getName
in interface NamedDelegate
public void set(String propertyName, Object value)
set
in class ScriptableDelegate
public void setLocation(String relativeURL) throws IOException, SAXException
IOException
SAXException
public URL getURL()
Copyright © 2012. All Rights Reserved.