Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.jgoodies.binding.list
Interface ObservableList

All Superinterfaces:
  Collection, Iterable, List, ListModel

All Known Implementing Classes:
  ArrayListModel, LinkedListModel

    public interface ObservableList

extends List, ListModel

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.

Version:
  $Revision: 1.2 $
Author:
  Karsten Lentzsch
See Also:
  `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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2006 JGoodies Karsten Lentzsch. All Rights Reserved.