|
JsOrb | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--js.lang.EntityObject
|
+--js.util.List
| Fields inherited from class js.lang.EntityObject |
listeners, jsOrbAttributes
|
| Method Summary | |
void
|
add()
|
void
|
addAddListener(listener)
|
void
|
addRemoveListener(listener)
|
void
|
clear()
|
Object
|
contains(obj)
|
Object
|
get(i)
|
Object
|
indexOf(obj)
|
void
|
insertElementAt(i, obj)
|
Object
|
isEmpty()
|
Object
|
lastIndexOf(obj)
|
void
|
marshal(<DOMElement> element, <js.util.Map> marshalContext)
Marshal my attributes into the passed element, recursively marshalling enclosed elements. |
void
|
remove(obj)
Removes an element from the list. |
void
|
removeAddListener(listener)
|
void
|
removeRemoveListener(listener)
|
Object
|
set(i, obj)
|
Object
|
size()
|
void
|
sort(comparator)
Sorts the list using the (optional) comparator. |
void
|
unmarshal(<DOMElement> element, <String> type, <js.util.Map> unmarshalContext)
Called to unmarshal this object from an XML element. |
| Methods inherited from class js.lang.EntityObject |
castProperty, equals, clone, addListener, removeListener, addPropertyListener, removePropertyListener, getProperty, setProperty, marshalAttribute
|
| Method Detail |
void add()
void addAddListener(listener)
void addRemoveListener(listener)
void clear()
Object contains(obj)
Object get(i)
Object indexOf(obj)
void insertElementAt(i, obj)
Object isEmpty()
Object lastIndexOf(obj)
void marshal(<DOMElement> element, <js.util.Map> marshalContext)
element - The XML element into which we're marshaling.
marshalContext - The marshaling context.
void remove(obj)
obj - if a Number, remove the obj'th item from the list else remove the item obj from the list
void removeAddListener(listener)
void removeRemoveListener(listener)
Object set(i, obj)
Object size()
void sort(comparator)
comparator - A function which takes two parameters and returns > 1 if the first parameter if larger, < 1 if the first parameter is smaller, and 0 if they're equal.
void unmarshal(<DOMElement> element, <String> type, <js.util.Map> unmarshalContext)
element - The XML element we're unmarshalling from.
type - The type of data in the element (unused here).
unmarshalContext - The context into which we're unmarshalling.
|
JsOrb | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||