Class WindowWrapper.FunctionWrapper

java.lang.Object
io.sf.carte.echosvg.bridge.WindowWrapper.FunctionWrapper
All Implemented Interfaces:
Runnable
Enclosing class:
WindowWrapper

protected static class WindowWrapper.FunctionWrapper extends Object implements Runnable
To wrap a function in an handler.
  • Field Details

    • interpreter

      protected RhinoInterpreter interpreter
      The current interpreter.
    • function

      protected org.mozilla.javascript.Function function
      The function wrapper.
    • arguments

      protected Object[] arguments
      The arguments.
  • Constructor Details

    • FunctionWrapper

      public FunctionWrapper(RhinoInterpreter ri, org.mozilla.javascript.Function f, Object[] args)
      Creates a function wrapper.
  • Method Details

    • run

      public void run()
      Calls the function.
      Specified by:
      run in interface Runnable