public class EventHandler
extends org.mozilla.javascript.BaseFunction
| Constructor and Description |
|---|
EventHandler(DomNode node,
String eventName,
String jsSnippet)
Builds a function that will execute the javascript code provided
|
| Modifier and Type | Method and Description |
|---|---|
Object |
call(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Scriptable thisObj,
Object[] args) |
Object |
get(String name,
org.mozilla.javascript.Scriptable start) |
Object |
getDefaultValue(Class typeHint) |
protected org.apache.commons.logging.Log |
getLog()
Return the log
|
construct, createObject, execIdCall, fillConstructorProperties, findInstanceIdInfo, findPrototypeId, getArity, getClassName, getClassPrototype, getFunctionName, getInstanceIdName, getInstanceIdValue, getLength, getMaxInstanceId, hasInstance, initPrototypeId, setImmunePrototypeProperty, setInstanceIdValueactivatePrototypeMap, addIdFunctionProperty, defaultGet, defaultPut, delete, exportAsJSClass, getAttributes, has, hasPrototypeMap, incompatibleCallError, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, instanceIdInfo, put, setAttributesassociateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, equivalentValues, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, hasProperty, hasProperty, isConst, isSealed, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototypepublic Object call(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, org.mozilla.javascript.Scriptable thisObj, Object[] args) throws org.mozilla.javascript.JavaScriptException
call in interface org.mozilla.javascript.Callablecall in interface org.mozilla.javascript.Functioncall in class org.mozilla.javascript.BaseFunctionorg.mozilla.javascript.JavaScriptExceptionpublic Object getDefaultValue(Class typeHint)
getDefaultValue in interface org.mozilla.javascript.ScriptablegetDefaultValue in class org.mozilla.javascript.ScriptableObjecttypeHint - the type hintScriptableObject.getDefaultValue(java.lang.Class)public Object get(String name, org.mozilla.javascript.Scriptable start)
get in interface org.mozilla.javascript.Scriptableget in class org.mozilla.javascript.IdScriptableObjectprotected final org.apache.commons.logging.Log getLog()
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.