E
- the list model element type.@FunctionalInterface public interface ObservableListModelListener<E>
ObservableListModel
.ObservableListModelListener.Change
Modifier and Type | Interface and Description |
---|---|
static class |
ObservableListModelListener.Change<E>
Represents a notification of the change done to an ObservableListModel.
|
Modifier and Type | Method and Description |
---|---|
void |
modelChanged(ObservableListModelListener.Change<? extends E> change)
Called after a change has been made to an ObservableListModel.
|
void modelChanged(ObservableListModelListener.Change<? extends E> change)
Note, that the change object object 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.
Warning: Change object can be reused and can become invalid when another change occurs on the list. It is not safe to use this change object on a different thread from the listener's thread.
change
- an object representing the change.Copyright © 2002–2023 Devexperts LLC. All rights reserved.