Module javafx.base
Package javafx.collections
Interface ArrayChangeListener<T extends ObservableArray<T>>
-
public interface ArrayChangeListener<T extends ObservableArray<T>>
Interface that receives notifications of changes to an ObservableArray.- Since:
- JavaFX 8.0
-
-
Method Detail
-
onChanged
void onChanged(T observableArray, boolean sizeChanged, int from, int to)
Called after a change has been made to an ObservableArray.- Parameters:
observableArray
- the array that changedsizeChanged
- indicates size of array changedfrom
- A beginning (inclusive) of an interval related to the changeto
- An end (exclusive) of an interval related to the change.
-
-