public class ObservableList<E>
extends java.util.AbstractList<E>
implements java.io.Externalizable
| Constructor and Description |
|---|
ObservableList() |
ObservableList(java.util.Collection<E> c) |
ObservableList(E... elements) |
ObservableList(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
E element) |
void |
addListListener(ObservableListListener<E> listener) |
boolean |
contains(java.lang.Object element) |
protected void |
fireAdded(E newElement) |
protected void |
fireRemoved(E oldElement) |
protected void |
fireReplaced(E oldElement,
E newElement) |
E |
get(int index) |
void |
readExternal(java.io.ObjectInput in) |
E |
remove(int index) |
boolean |
remove(java.lang.Object element) |
void |
removeListListener(ObservableListListener<E> listener) |
E |
set(int index,
E element) |
int |
size() |
void |
writeExternal(java.io.ObjectOutput out) |
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitprotected java.util.ArrayList<E> list
public ObservableList()
public ObservableList(int capacity)
public ObservableList(java.util.Collection<E> c)
@SafeVarargs public ObservableList(E... elements)
public int size()
public E get(int index)
public void add(int index,
E element)
public E remove(int index)
public boolean remove(java.lang.Object element)
public boolean contains(java.lang.Object element)
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void addListListener(ObservableListListener<E> listener)
public void removeListListener(ObservableListListener<E> listener)
protected void fireAdded(E newElement)
protected void fireRemoved(E oldElement)