Package org.apache.batik.bridge
Class WindowWrapper.FunctionWrapper
- java.lang.Object
-
- org.apache.batik.bridge.WindowWrapper.FunctionWrapper
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- WindowWrapper
protected static class WindowWrapper.FunctionWrapper extends java.lang.Object implements java.lang.Runnable
To wrap a function in an handler.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object[]
arguments
The arguments.protected org.mozilla.javascript.Function
function
The function wrapper.protected RhinoInterpreter
interpreter
The current interpreter.
-
Constructor Summary
Constructors Constructor Description FunctionWrapper(RhinoInterpreter ri, org.mozilla.javascript.Function f, java.lang.Object[] args)
Creates a function wrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
Calls the function.
-
-
-
Field Detail
-
interpreter
protected RhinoInterpreter interpreter
The current interpreter.
-
function
protected org.mozilla.javascript.Function function
The function wrapper.
-
arguments
protected java.lang.Object[] arguments
The arguments.
-
-
Constructor Detail
-
FunctionWrapper
public FunctionWrapper(RhinoInterpreter ri, org.mozilla.javascript.Function f, java.lang.Object[] args)
Creates a function wrapper.
-
-