Constructor and Description |
---|
ItemList()
Initializes a new instance of the
ItemList class. |
ItemList(boolean silent)
Initializes a new instance of the
ItemList class,
which optionally does not raise events. |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.String id)
Determines whether this list contains an item identified by the specified string.
|
void |
doAdd(int index,
Item item)
BaseList.doAdd(int, E) override. |
void |
doClear()
BaseList.doClear() override. |
void |
doRemove(int index,
Item item)
BaseList.doRemove(int, E) override. |
void |
doSet(int index,
Item item)
BaseList.doSet(int, E) override. |
Item |
get(java.lang.String id)
Gets the item identified by the specified string.
|
add, add, addBaseListListener, clear, first, get, getList, last, readExternal, remove, remove, removeBaseListListener, set, size, writeExternal
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public ItemList()
ItemList
class.public ItemList(boolean silent)
ItemList
class,
which optionally does not raise events.public void doAdd(int index, Item item)
BaseList.doAdd(int, E)
override.public void doRemove(int index, Item item)
BaseList.doRemove(int, E)
override.public void doSet(int index, Item item)
BaseList.doSet(int, E)
override.public void doClear()
BaseList.doClear()
override.public boolean contains(java.lang.String id)
id
- The identifier of an item to search for in the list.