org.apache.batik.script.rhino

Class WindowWrapper.FunctionWrapper

protected static class WindowWrapper.FunctionWrapper extends Object implements Runnable

To wrap a function in an handler.
Field Summary
protected Object[]arguments
The arguments.
protected Functionfunction
The function wrapper.
protected RhinoInterpreterinterpreter
The current interpreter.
Constructor Summary
FunctionWrapper(RhinoInterpreter ri, Function f, Object[] args)
Creates a function wrapper.
Method Summary
voidrun()
Calls the function.

Field Detail

arguments

protected Object[] arguments
The arguments.

function

protected Function function
The function wrapper.

interpreter

protected RhinoInterpreter interpreter
The current interpreter.

Constructor Detail

FunctionWrapper

public FunctionWrapper(RhinoInterpreter ri, Function f, Object[] args)
Creates a function wrapper.

Method Detail

run

public void run()
Calls the function.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.