org.xwt.js
Class JS.Graft
java.lang.Object
org.xwt.js.JS
org.xwt.js.JS.Graft
- Enclosing class:
- JS
- public static class JS.Graft
- extends JS
the result of a graft
Constructor Summary |
JS.Graft(JS graftee,
java.lang.Object key,
java.lang.Object val)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
JS.Graft
public JS.Graft(JS graftee,
java.lang.Object key,
java.lang.Object val)
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
get
in class JS
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object val)
- Specified by:
put
in class JS
callMethod
public java.lang.Object callMethod(java.lang.Object method,
JS.Array args,
boolean checkOnly)
throws JS.Exn
- Overrides:
callMethod
in class JS
- Throws:
JS.Exn
coerceToNumber
public java.lang.Number coerceToNumber()
- Overrides:
coerceToNumber
in class JS
coerceToString
public java.lang.String coerceToString()
- Overrides:
coerceToString
in class JS
coerceToBoolean
public boolean coerceToBoolean()
- Overrides:
coerceToBoolean
in class JS
typeName
public java.lang.String typeName()
- Overrides:
typeName
in class JS
keys
public java.lang.Object[] keys()
- Specified by:
keys
in class JS