Package org.apache.batik.bridge
Class EventTargetWrapper.FunctionProxy
- java.lang.Object
-
- org.apache.batik.bridge.EventTargetWrapper.FunctionProxy
-
- All Implemented Interfaces:
org.mozilla.javascript.Callable
,org.mozilla.javascript.Function
,org.mozilla.javascript.Scriptable
- Direct Known Subclasses:
EventTargetWrapper.FunctionAddNSProxy
,EventTargetWrapper.FunctionAddProxy
,EventTargetWrapper.FunctionRemoveNSProxy
,EventTargetWrapper.FunctionRemoveProxy
- Enclosing class:
- EventTargetWrapper
abstract static class EventTargetWrapper.FunctionProxy extends java.lang.Object implements org.mozilla.javascript.Function
-
-
Field Summary
Fields Modifier and Type Field Description protected org.mozilla.javascript.Function
delegate
-
Constructor Summary
Constructors Constructor Description FunctionProxy(org.mozilla.javascript.Function delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.mozilla.javascript.Scriptable
construct(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, java.lang.Object[] args)
void
delete(int index)
void
delete(java.lang.String name)
java.lang.Object
get(int index, org.mozilla.javascript.Scriptable start)
java.lang.Object
get(java.lang.String name, org.mozilla.javascript.Scriptable start)
java.lang.String
getClassName()
java.lang.Object
getDefaultValue(java.lang.Class hint)
java.lang.Object[]
getIds()
org.mozilla.javascript.Scriptable
getParentScope()
org.mozilla.javascript.Scriptable
getPrototype()
boolean
has(int index, org.mozilla.javascript.Scriptable start)
boolean
has(java.lang.String name, org.mozilla.javascript.Scriptable start)
boolean
hasInstance(org.mozilla.javascript.Scriptable instance)
void
put(int index, org.mozilla.javascript.Scriptable start, java.lang.Object value)
void
put(java.lang.String name, org.mozilla.javascript.Scriptable start, java.lang.Object value)
void
setParentScope(org.mozilla.javascript.Scriptable parent)
void
setPrototype(org.mozilla.javascript.Scriptable prototype)
-
-
-
Method Detail
-
construct
public org.mozilla.javascript.Scriptable construct(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, java.lang.Object[] args)
- Specified by:
construct
in interfaceorg.mozilla.javascript.Function
-
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName
in interfaceorg.mozilla.javascript.Scriptable
-
get
public java.lang.Object get(java.lang.String name, org.mozilla.javascript.Scriptable start)
- Specified by:
get
in interfaceorg.mozilla.javascript.Scriptable
-
get
public java.lang.Object get(int index, org.mozilla.javascript.Scriptable start)
- Specified by:
get
in interfaceorg.mozilla.javascript.Scriptable
-
has
public boolean has(java.lang.String name, org.mozilla.javascript.Scriptable start)
- Specified by:
has
in interfaceorg.mozilla.javascript.Scriptable
-
has
public boolean has(int index, org.mozilla.javascript.Scriptable start)
- Specified by:
has
in interfaceorg.mozilla.javascript.Scriptable
-
put
public void put(java.lang.String name, org.mozilla.javascript.Scriptable start, java.lang.Object value)
- Specified by:
put
in interfaceorg.mozilla.javascript.Scriptable
-
put
public void put(int index, org.mozilla.javascript.Scriptable start, java.lang.Object value)
- Specified by:
put
in interfaceorg.mozilla.javascript.Scriptable
-
delete
public void delete(java.lang.String name)
- Specified by:
delete
in interfaceorg.mozilla.javascript.Scriptable
-
delete
public void delete(int index)
- Specified by:
delete
in interfaceorg.mozilla.javascript.Scriptable
-
getPrototype
public org.mozilla.javascript.Scriptable getPrototype()
- Specified by:
getPrototype
in interfaceorg.mozilla.javascript.Scriptable
-
setPrototype
public void setPrototype(org.mozilla.javascript.Scriptable prototype)
- Specified by:
setPrototype
in interfaceorg.mozilla.javascript.Scriptable
-
getParentScope
public org.mozilla.javascript.Scriptable getParentScope()
- Specified by:
getParentScope
in interfaceorg.mozilla.javascript.Scriptable
-
setParentScope
public void setParentScope(org.mozilla.javascript.Scriptable parent)
- Specified by:
setParentScope
in interfaceorg.mozilla.javascript.Scriptable
-
getIds
public java.lang.Object[] getIds()
- Specified by:
getIds
in interfaceorg.mozilla.javascript.Scriptable
-
getDefaultValue
public java.lang.Object getDefaultValue(java.lang.Class hint)
- Specified by:
getDefaultValue
in interfaceorg.mozilla.javascript.Scriptable
-
hasInstance
public boolean hasInstance(org.mozilla.javascript.Scriptable instance)
- Specified by:
hasInstance
in interfaceorg.mozilla.javascript.Scriptable
-
-