com.jgoodies.binding.list

Interface ObservableList

All Superinterfaces:
List, ListModel
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.3 $
Author:
Karsten Lentzsch
See Also:
ArrayListModel, LinkedListModel, SelectionInList

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