Interface ListenableList<E>

Type Parameters:
E - the type of the elements in the list
All Superinterfaces:
Collection<E>, Iterable<E>, List<E>, Observable, ObservableList<E>, SequencedCollection<E>
All Known Implementing Classes:
BookmarkList, DistanceCompositeSceneSymbol.RangeCollection, LayerList, SublayerList, Surface.ElevationSourceList

public interface ListenableList<E> extends ObservableList<E>
This interface defines a listenable version of a List.

Note that this interface now extends ObservableList and it is recommended to use the methods from that interface in preference to the methods described below.

Deprecated way to listen for changes:
To be notified of items being added to or removed from this list, provide an implementation of ListChangedListener via the addListChangedListener(ListChangedListener) method. When this listener is called back, you will be provided with a ListChangedEvent instance containing the items added or removed and the index at which they were added or removed.

See Also: