org.xwt.js
Class JS.Obj
java.lang.Object
org.xwt.js.JS
org.xwt.js.JS.Obj
- Direct Known Subclasses:
- org.xwt.js.ArrayImpl, Date, Function, JS.Callable, Math, Regexp, org.xwt.js.ScopeImpl, XWT
- Enclosing class:
- JS
- public static class JS.Obj
- extends JS
A sensible implementation of the abstract methods in the JS class
Method Summary |
java.lang.Object |
get(java.lang.Object key)
|
protected java.lang.Object |
get(java.lang.Object key,
java.lang.Object key2)
|
java.lang.Object[] |
keys()
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object val)
|
protected void |
put2(java.lang.Object key,
java.lang.Object key2,
java.lang.Object val)
|
void |
setSeal(boolean sealed)
|
Methods inherited from class org.xwt.js.JS |
callMethod, coerceToBoolean, coerceToNumber, coerceToString, parse, toBoolean, toDouble, toInt, toLong, toNumber, toString, typeName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JS.Obj
public JS.Obj()
JS.Obj
public JS.Obj(boolean sealed)
setSeal
public void setSeal(boolean sealed)
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object val)
- Specified by:
put
in class JS
put2
protected void put2(java.lang.Object key,
java.lang.Object key2,
java.lang.Object val)
keys
public java.lang.Object[] keys()
- Specified by:
keys
in class JS
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
get
in class JS
get
protected java.lang.Object get(java.lang.Object key,
java.lang.Object key2)