public class NativeList
extends org.mozilla.javascript.NativeJavaObject
implements org.mozilla.javascript.Scriptable, org.mozilla.javascript.Wrapper
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int index) |
Object |
get(int index,
org.mozilla.javascript.Scriptable start) |
Object |
get(String name,
org.mozilla.javascript.Scriptable start) |
String |
getClassName() |
Object[] |
getIds() |
boolean |
has(int index,
org.mozilla.javascript.Scriptable start) |
boolean |
has(String name,
org.mozilla.javascript.Scriptable start) |
boolean |
hasInstance(org.mozilla.javascript.Scriptable value) |
void |
put(int index,
org.mozilla.javascript.Scriptable start,
Object value) |
Object |
unwrap() |
static NativeList |
wrap(org.mozilla.javascript.Scriptable scope,
List<Object> list,
Class<?> staticType) |
canConvert, coerceType, createInterfaceAdapter, delete, getDefaultValue, getParentScope, getPrototype, initMembers, put, setParentScope, setPrototype, wrappublic static NativeList wrap(org.mozilla.javascript.Scriptable scope, List<Object> list, Class<?> staticType)
public Object unwrap()
unwrap in interface org.mozilla.javascript.Wrapperunwrap in class org.mozilla.javascript.NativeJavaObjectpublic String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.NativeJavaObjectpublic Object get(String name, org.mozilla.javascript.Scriptable start)
get in interface org.mozilla.javascript.Scriptableget in class org.mozilla.javascript.NativeJavaObjectpublic Object get(int index, org.mozilla.javascript.Scriptable start)
get in interface org.mozilla.javascript.Scriptableget in class org.mozilla.javascript.NativeJavaObjectpublic boolean has(String name, org.mozilla.javascript.Scriptable start)
has in interface org.mozilla.javascript.Scriptablehas in class org.mozilla.javascript.NativeJavaObjectpublic boolean has(int index,
org.mozilla.javascript.Scriptable start)
has in interface org.mozilla.javascript.Scriptablehas in class org.mozilla.javascript.NativeJavaObjectpublic void put(int index,
org.mozilla.javascript.Scriptable start,
Object value)
put in interface org.mozilla.javascript.Scriptableput in class org.mozilla.javascript.NativeJavaObjectpublic void delete(int index)
delete in interface org.mozilla.javascript.Scriptabledelete in class org.mozilla.javascript.NativeJavaObjectpublic Object[] getIds()
getIds in interface org.mozilla.javascript.ScriptablegetIds in class org.mozilla.javascript.NativeJavaObjectpublic boolean hasInstance(org.mozilla.javascript.Scriptable value)
hasInstance in interface org.mozilla.javascript.ScriptablehasInstance in class org.mozilla.javascript.NativeJavaObjectCopyright © 2009–2017. All rights reserved.