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 the List and ListModel 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 as JList, JTable and JComboBox.

    The JGoodies Common ships two predefined implementations: ArrayListModel and LinkedListModel.

    • Method Summary

      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • 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
      • Methods inherited from interface javax.swing.ListModel

        addListDataListener, getElementAt, getSize, removeListDataListener