org.lobobrowser.html.js
public class Executor extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SCOPE_KEY
A document
UserData key used
to map Javascript scope in the HTML document. |
Constructor and Description |
---|
Executor() |
Modifier and Type | Method and Description |
---|---|
static org.mozilla.javascript.Context |
createContext(java.net.URL codeSource,
UserAgentContext ucontext)
This method should be invoked instead of
Context.enter . |
static boolean |
executeFunction(NodeImpl element,
org.mozilla.javascript.Function f,
Event event) |
static boolean |
executeFunction(NodeImpl element,
java.lang.Object thisObject,
org.mozilla.javascript.Function f,
Event event) |
static boolean |
executeFunction(org.mozilla.javascript.Scriptable thisScope,
org.mozilla.javascript.Function f,
java.net.URL codeSource,
UserAgentContext ucontext) |
public static final java.lang.String SCOPE_KEY
UserData
key used
to map Javascript scope in the HTML document.public static org.mozilla.javascript.Context createContext(java.net.URL codeSource, UserAgentContext ucontext)
Context.enter
.codeSource
- ucontext
- public static boolean executeFunction(NodeImpl element, org.mozilla.javascript.Function f, Event event)
public static boolean executeFunction(NodeImpl element, java.lang.Object thisObject, org.mozilla.javascript.Function f, Event event)
public static boolean executeFunction(org.mozilla.javascript.Scriptable thisScope, org.mozilla.javascript.Function f, java.net.URL codeSource, UserAgentContext ucontext)