Interface ObservableList<T>

  • All Superinterfaces:
    java.util.Collection<T>, java.lang.Iterable<T>, java.util.List<T>

    public interface ObservableList<T>
    extends java.util.List<T>
    A List that notifies when changes are made. An ObservableList bound to the UI will keep the it up-to-date when changes occur.

    The ObservableList must notify its callbacks whenever a change to the list occurs, using ObservableList.OnListChangedCallback.

    ObservableArrayList implements ObservableList with an underlying ArrayList. ListChangeRegistry can help in maintaining the callbacks of other implementations.

    See Also:
    Observable, ObservableMap