Package com.jgoodies.common.collect
Interface ObservableList<E>
-
- Type Parameters:
E
- the type of the list elements
- All Superinterfaces:
java.util.Collection<E>
,java.lang.Iterable<E>
,java.util.List<E>
,javax.swing.ListModel
- All Known Subinterfaces:
ObservableList2<E>
- All Known Implementing Classes:
ArrayListModel
,LinkedListModel
public interface ObservableList<E> extends java.util.List<E>, javax.swing.ListModel
Combines theList
andListModel
interfaces. Useful to specify a type that operates like a List and is published as a ListModel so it can be bound to user interface components such asJList
,JTable
andJComboBox
.The JGoodies Common ships two predefined implementations:
ArrayListModel
andLinkedListModel
.
-
-
Method Summary
-
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
-