org.lobobrowser.html.js
Class Executor
java.lang.Object
org.lobobrowser.html.js.Executor
public class Executor
- extends java.lang.Object
Field Summary |
static java.lang.String |
SCOPE_KEY
A document UserData key used
to map Javascript scope in the HTML document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCOPE_KEY
public static final java.lang.String SCOPE_KEY
- A document
UserData
key used
to map Javascript scope in the HTML document.
- See Also:
- Constant Field Values
Executor
public Executor()
createContext
public static org.mozilla.javascript.Context createContext(java.net.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,
java.lang.Object thisObject,
org.mozilla.javascript.Function f,
Event event)
executeFunction
public static boolean executeFunction(org.mozilla.javascript.Scriptable thisScope,
org.mozilla.javascript.Function f,
java.net.URL codeSource,
UserAgentContext ucontext)