public class ObservableList<E>
extends java.util.AbstractList<E>
implements java.io.Externalizable
Constructor and Description |
---|
ObservableList() |
ObservableList(java.util.Collection<E> c) |
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, subList
addAll, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected java.util.ArrayList<E> list
public ObservableList()
public ObservableList(int capacity)
public ObservableList(java.util.Collection<E> c)
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.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public void addListListener(ObservableListListener<E> listener)
public void removeListListener(ObservableListListener<E> listener)
protected void fireAdded(E newElement)
protected void fireRemoved(E oldElement)