abstract static class EventTargetWrapper.FunctionProxy
extends java.lang.Object
implements org.mozilla.javascript.Function
| Modifier and Type | Field and Description |
|---|---|
protected org.mozilla.javascript.Function |
delegate |
| Constructor and Description |
|---|
FunctionProxy(org.mozilla.javascript.Function delegate) |
| Modifier and Type | Method and 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) |
public org.mozilla.javascript.Scriptable construct(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
java.lang.Object[] args)
construct in interface org.mozilla.javascript.Functionpublic java.lang.String getClassName()
getClassName in interface org.mozilla.javascript.Scriptablepublic java.lang.Object get(java.lang.String name,
org.mozilla.javascript.Scriptable start)
get in interface org.mozilla.javascript.Scriptablepublic java.lang.Object get(int index,
org.mozilla.javascript.Scriptable start)
get in interface org.mozilla.javascript.Scriptablepublic boolean has(java.lang.String name,
org.mozilla.javascript.Scriptable start)
has in interface org.mozilla.javascript.Scriptablepublic boolean has(int index,
org.mozilla.javascript.Scriptable start)
has in interface org.mozilla.javascript.Scriptablepublic void put(java.lang.String name,
org.mozilla.javascript.Scriptable start,
java.lang.Object value)
put in interface org.mozilla.javascript.Scriptablepublic void put(int index,
org.mozilla.javascript.Scriptable start,
java.lang.Object value)
put in interface org.mozilla.javascript.Scriptablepublic void delete(java.lang.String name)
delete in interface org.mozilla.javascript.Scriptablepublic void delete(int index)
delete in interface org.mozilla.javascript.Scriptablepublic org.mozilla.javascript.Scriptable getPrototype()
getPrototype in interface org.mozilla.javascript.Scriptablepublic void setPrototype(org.mozilla.javascript.Scriptable prototype)
setPrototype in interface org.mozilla.javascript.Scriptablepublic org.mozilla.javascript.Scriptable getParentScope()
getParentScope in interface org.mozilla.javascript.Scriptablepublic void setParentScope(org.mozilla.javascript.Scriptable parent)
setParentScope in interface org.mozilla.javascript.Scriptablepublic java.lang.Object[] getIds()
getIds in interface org.mozilla.javascript.Scriptablepublic java.lang.Object getDefaultValue(java.lang.Class hint)
getDefaultValue in interface org.mozilla.javascript.Scriptablepublic boolean hasInstance(org.mozilla.javascript.Scriptable instance)
hasInstance in interface org.mozilla.javascript.Scriptable