Class Executor

java.lang.Object
org.lobobrowser.html.js.Executor

public class Executor extends Object
  • Field Details

    • SCOPE_KEY

      public static final String SCOPE_KEY
      A document UserData key used to map Javascript scope in the HTML document.
      See Also:
  • Constructor Details

    • Executor

      public Executor()
  • Method Details

    • createContext

      public static org.mozilla.javascript.Context createContext(URL codeSource, UserAgentContext ucontext)
      This method should be invoked instead of Context.enter.
      Parameters:
      codeSource -
      ucontext -
    • executeFunction

      public static boolean executeFunction(NodeImpl element, org.mozilla.javascript.Function f, Event event)
    • executeFunction

      public static boolean executeFunction(NodeImpl element, Object thisObject, org.mozilla.javascript.Function f, Event event)
    • executeFunction

      public static boolean executeFunction(org.mozilla.javascript.Scriptable thisScope, org.mozilla.javascript.Function f, URL codeSource, UserAgentContext ucontext)