org.xwt.js
Class JS.Array
java.lang.Object
org.xwt.js.JS
org.xwt.js.JS.Obj
org.xwt.js.ArrayImpl
org.xwt.js.JS.Array
- Enclosing class:
- JS
- public static class JS.Array
- extends org.xwt.js.ArrayImpl
The publicly-visible face of JavaScript Array objects
Method Summary |
java.lang.Object |
_get(java.lang.Object key)
|
void |
_put(java.lang.Object key,
java.lang.Object val)
|
void |
addElement(java.lang.Object o)
|
java.lang.Object |
callMethod(java.lang.Object method,
JS.Array args,
boolean justChecking)
|
java.lang.String |
coerceToString()
|
java.lang.Object |
elementAt(int i)
|
java.lang.Object |
get(java.lang.Object key)
|
java.lang.Object[] |
keys()
|
int |
length()
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object val)
|
void |
setElementAt(java.lang.Object o,
int i)
|
void |
setSize(int i)
|
java.lang.String |
typeName()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JS.Array
public JS.Array()
JS.Array
public JS.Array(int size)
setSize
public void setSize(int i)
length
public int length()
elementAt
public java.lang.Object elementAt(int i)
addElement
public void addElement(java.lang.Object o)
setElementAt
public void setElementAt(java.lang.Object o,
int i)
get
public java.lang.Object get(java.lang.Object key)
- Overrides:
get
in class JS.Obj
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object val)
- Overrides:
put
in class JS.Obj
callMethod
public java.lang.Object callMethod(java.lang.Object method,
JS.Array args,
boolean justChecking)
- Overrides:
callMethod
in class JS
_get
public java.lang.Object _get(java.lang.Object key)
throws JS.Exn
- Throws:
JS.Exn
_put
public void _put(java.lang.Object key,
java.lang.Object val)
keys
public java.lang.Object[] keys()
- Overrides:
keys
in class JS.Obj
typeName
public java.lang.String typeName()
- Overrides:
typeName
in class JS
coerceToString
public java.lang.String coerceToString()
- Overrides:
coerceToString
in class JS