|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.htmlunit.corejs.javascript.Delegator
com.gargoylesoftware.htmlunit.javascript.SimpleScriptableProxy<T>
T - the type of scriptable object being wrappedpublic abstract class SimpleScriptableProxy<T extends SimpleScriptable>
Proxy for a SimpleScriptable.
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.htmlunit.corejs.javascript.Delegator |
|---|
obj |
| Fields inherited from interface net.sourceforge.htmlunit.corejs.javascript.Scriptable |
|---|
NOT_FOUND |
| Constructor Summary | |
|---|---|
SimpleScriptableProxy()
|
|
| Method Summary | |
|---|---|
Object |
get(int index,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
|
Object |
get(String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
|
Object |
getDefaultValue(Class<?> hint)
Delegates call to delegee. |
abstract T |
getDelegee()
|
Object |
getWithFallback(String name)
Fallback called when no configured property is found with the given name on the Scriptable object. |
boolean |
has(int index,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
|
boolean |
has(String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
|
boolean |
hasInstance(net.sourceforge.htmlunit.corejs.javascript.Scriptable instance)
|
void |
put(int index,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start,
Object value)
|
void |
put(String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start,
Object value)
|
| Methods inherited from class net.sourceforge.htmlunit.corejs.javascript.Delegator |
|---|
call, construct, delete, delete, getClassName, getIds, getParentScope, getPrototype, newInstance, setDelegee, setParentScope, setPrototype |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sourceforge.htmlunit.corejs.javascript.Scriptable |
|---|
delete, delete, getClassName, getIds, getParentScope, getPrototype, setParentScope, setPrototype |
| Constructor Detail |
|---|
public SimpleScriptableProxy()
| Method Detail |
|---|
public abstract T getDelegee()
getDelegee in class net.sourceforge.htmlunit.corejs.javascript.Delegator
public Object get(int index,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
get in interface net.sourceforge.htmlunit.corejs.javascript.Scriptableget in class net.sourceforge.htmlunit.corejs.javascript.Delegator
public Object get(String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
get in interface net.sourceforge.htmlunit.corejs.javascript.Scriptableget in class net.sourceforge.htmlunit.corejs.javascript.Delegatorpublic Object getWithFallback(String name)
Scriptable object.
getWithFallback in interface ScriptableWithFallbackGettername - the name of the requested property
Scriptable.NOT_FOUND if nothing is found
public boolean has(int index,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
has in interface net.sourceforge.htmlunit.corejs.javascript.Scriptablehas in class net.sourceforge.htmlunit.corejs.javascript.Delegator
public boolean has(String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
has in interface net.sourceforge.htmlunit.corejs.javascript.Scriptablehas in class net.sourceforge.htmlunit.corejs.javascript.Delegatorpublic boolean hasInstance(net.sourceforge.htmlunit.corejs.javascript.Scriptable instance)
hasInstance in interface net.sourceforge.htmlunit.corejs.javascript.ScriptablehasInstance in class net.sourceforge.htmlunit.corejs.javascript.Delegator
public void put(int index,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start,
Object value)
put in interface net.sourceforge.htmlunit.corejs.javascript.Scriptableput in class net.sourceforge.htmlunit.corejs.javascript.Delegator
public void put(String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start,
Object value)
put in interface net.sourceforge.htmlunit.corejs.javascript.Scriptableput in class net.sourceforge.htmlunit.corejs.javascript.Delegatorpublic Object getDefaultValue(Class<?> hint)
getDefaultValue in interface net.sourceforge.htmlunit.corejs.javascript.ScriptablegetDefaultValue in class net.sourceforge.htmlunit.corejs.javascript.Delegatorhint - the type hint
Scriptable.getDefaultValue(java.lang.Class>)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||