Package org.apache.batik.bridge
Class EventTargetWrapper.FunctionAddProxy
java.lang.Object
org.apache.batik.bridge.EventTargetWrapper.FunctionProxy
org.apache.batik.bridge.EventTargetWrapper.FunctionAddProxy
- All Implemented Interfaces:
org.mozilla.javascript.Callable,org.mozilla.javascript.Constructable,org.mozilla.javascript.Function,org.mozilla.javascript.Scriptable
- Enclosing class:
- EventTargetWrapper
This function proxy is delegating most of the job
to the underlying NativeJavaMethod object through
the FunctionProxy. However to allow user to specify
"Function" or objects with an "handleEvent" method
as parameter of "addEventListener"
it redefines the call method to deal with these
cases.
-
Field Summary
FieldsFields inherited from class org.apache.batik.bridge.EventTargetWrapper.FunctionProxy
delegateFields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND -
Constructor Summary
ConstructorsConstructorDescriptionFunctionAddProxy(RhinoInterpreter interpreter, org.mozilla.javascript.Function delegate, Map listenerMap) -
Method Summary
Methods inherited from class org.apache.batik.bridge.EventTargetWrapper.FunctionProxy
construct, delete, delete, get, get, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, has, has, hasInstance, put, put, setParentScope, setPrototype
-
Field Details
-
listenerMap
-
interpreter
-
-
Constructor Details
-
FunctionAddProxy
FunctionAddProxy(RhinoInterpreter interpreter, org.mozilla.javascript.Function delegate, Map listenerMap)
-
-
Method Details
-
call
-