|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.bridge.ScriptingEnvironment.Window
protected class ScriptingEnvironment.Window
Represents the window object of this environment.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.batik.script.Window |
|---|
Window.URLResponseHandler |
| Field Summary | |
|---|---|
protected Interpreter |
interpreter
The associated interpreter. |
protected String |
language
The associated language. |
| Constructor Summary | |
|---|---|
ScriptingEnvironment.Window(Interpreter interp,
String lang)
Creates a new Window for the given language. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Interpreter interpreter
protected String language
| Constructor Detail |
|---|
public ScriptingEnvironment.Window(Interpreter interp,
String lang)
| Method Detail |
|---|
public Object setInterval(String script,
long interval)
Window.setInterval(String,long).
setInterval in interface Window
public Object setInterval(Runnable r,
long interval)
Window.setInterval(Runnable,long).
setInterval in interface Windowpublic void clearInterval(Object interval)
Window.clearInterval(Object).
clearInterval in interface Window
public Object setTimeout(String script,
long timeout)
Window.setTimeout(String,long).
setTimeout in interface Window
public Object setTimeout(Runnable r,
long timeout)
Window.setTimeout(Runnable,long).
setTimeout in interface Windowpublic void clearTimeout(Object timeout)
Window.clearTimeout(Object).
clearTimeout in interface Window
public Node parseXML(String text,
Document doc)
Window.parseXML(String,Document).
parseXML in interface Window
public void getURL(String uri,
Window.URLResponseHandler h)
Window.getURL(String,org.apache.batik.script.Window.URLResponseHandler).
getURL in interface Windowuri - The URI where the data is located.h - A handler called when the data is available.
public void getURL(String uri,
Window.URLResponseHandler h,
String enc)
Window.getURL(String,org.apache.batik.script.Window.URLResponseHandler,String).
getURL in interface Windowuri - The URI where the data is located.h - A handler called when the data is available.enc - The character encoding of the data.
public void postURL(String uri,
String content,
Window.URLResponseHandler h)
Window
postURL in interface Windowuri - The URI where the data is located.content - The data to post to the server.h - A handler called when the data is available.
public void postURL(String uri,
String content,
Window.URLResponseHandler h,
String mimeType)
Window
postURL in interface Windowuri - The URI where the data is located.content - The data to post to the server.h - A handler called when the data is available.mimeType - The mimeType to asscoiate with post.
public void postURL(String uri,
String content,
Window.URLResponseHandler h,
String mimeType,
String fEnc)
Window
postURL in interface Windowuri - The URI where the data is located.content - The data to post to the server.h - A handler called when the data is available.mimeType - The mimeType to asscoiate with post.fEnc - The encoding to apply to content
may be "gzip", "deflate", or null.public void alert(String message)
alert in interface Windowpublic boolean confirm(String message)
confirm in interface Windowpublic String prompt(String message)
prompt in interface Window
public String prompt(String message,
String defVal)
prompt in interface Windowpublic BridgeContext getBridgeContext()
getBridgeContext in interface Windowpublic Interpreter getInterpreter()
getInterpreter in interface Window
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||