Class ObservableList<E>

java.lang.Object
net.sf.jstuff.core.collection.ObservableCollection<E,List<E>>
net.sf.jstuff.core.collection.ObservableList<E>
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>, CollectionExt<E>, ListExt<E>, EventListenable<ObservableCollection.ChangeEvent<E>>

public class ObservableList<E> extends ObservableCollection<E,List<E>> implements ListExt<E>
A List wrapper that emits change events when modified through this ObservableList.

Changes made directly to the underlying List instance are not observable and will not trigger events.

Change events include index information.

Listeners can subscribe to receive change events describing the type of change and the affected items.

Author:
Sebastian Thomschke