org.apache.batik.script.rhino
public class WindowWrapper extends ImporterTopLevel
Nested Class Summary | |
---|---|
protected static class | WindowWrapper.FunctionWrapper
To wrap a function in an handler. |
protected static class | WindowWrapper.GetURLFunctionWrapper
To wrap a function passed to getURL(). |
Field Summary | |
---|---|
protected RhinoInterpreter | interpreter
The rhino interpreter. |
protected Window | window
The wrapped window. |
Constructor Summary | |
---|---|
WindowWrapper(Context context)
Creates a new WindowWrapper. |
Method Summary | |
---|---|
static void | alert(Context cx, Scriptable thisObj, Object[] args, Function funObj)
Wraps the 'alert' method of the Window interface. |
static void | clearInterval(Context cx, Scriptable thisObj, Object[] args, Function funObj)
Wraps the 'clearInterval' method of the Window interface. |
static void | clearTimeout(Context cx, Scriptable thisObj, Object[] args, Function funObj)
Wraps the 'clearTimeout' method of the Window interface. |
static Object | confirm(Context cx, Scriptable thisObj, Object[] args, Function funObj)
Wraps the 'confirm' method of the Window interface. |
String | getClassName() |
static void | getURL(Context cx, Scriptable thisObj, Object[] args, Function funObj)
Wraps the 'getURL' method of the Window interface. |
static Object | parseXML(Context cx, Scriptable thisObj, Object[] args, Function funObj)
Wraps the 'parseXML' method of the Window interface. |
static void | postURL(Context cx, Scriptable thisObj, Object[] args, Function funObj)
Wraps the 'postURL' method of the Window interface. |
static Object | prompt(Context cx, Scriptable thisObj, Object[] args, Function funObj)
Wraps the 'prompt' method of the Window interface. |
static Object | setInterval(Context cx, Scriptable thisObj, Object[] args, Function funObj)
Wraps the 'setInterval' methods of the Window interface. |
static Object | setTimeout(Context cx, Scriptable thisObj, Object[] args, Function funObj)
Wraps the 'setTimeout' methods of the Window interface. |
String | toString() |