|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
E - the type of the list elementspublic interface ObservableList<E>
Combines the List and ListModel interfaces.
Implementations can be used to bind lists to list-based
user interface components like JList, JTable
and JComboBox.
The JGoodies Data Binding ships with two predefined implementations:
ArrayListModel and LinkedListModel.
See also the class comment in SelectionInList that discusses
the advantages you gain if you add ListModel capabilities
to a List.
TODO: Check if this type is really necessary; remove it if obsolete. Without doubt the ObservableList implementations are really useful, among others the predefined ArrayListModel and LinkedListModel. It's just that these implementations are typically used as List and exposed as ListModel, and so there may be no need for the ObservableList interface.
ArrayListModel,
LinkedListModel,
SelectionInList| 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, retainAll, set, size, subList, toArray, toArray |
| Methods inherited from interface javax.swing.ListModel |
|---|
addListDataListener, getElementAt, getSize, removeListDataListener |
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||