E
- the list model element typepublic interface ObservableListModel<E> extends List<E>
Modifier and Type | Method and Description |
---|---|
void |
addListener(ObservableListModelListener<? super E> listener)
Adds a listener to this observable list model.
|
void |
removeListener(ObservableListModelListener<? super E> listener)
Removes a listener from this observable list model.
|
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
parallelStream, removeIf, stream
void addListener(ObservableListModelListener<? super E> listener)
Note, that the listener currently provides only information about the source of the change (what list has changed) and does not actually provide information about what items in the list has changed.
listener
- the listener for listening to the list changes.void removeListener(ObservableListModelListener<? super E> listener)
listener
- the listener to remove.Copyright © 2002–2023 Devexperts LLC. All rights reserved.