ListChange
The data describing changes to an ObservableList.
See ObservableList.addChangeListener
A typical listener has the following structure :
val myListener = myObservableList.addChangeListener { _, change ->
if ( change.removed.isNotEmpty() ) {
// Act on removed items
}
if ( change.added.isNotEmpty() ) {
// Act on data added.
}
}
Content copied to clipboard
Properties
Link copied to clipboard
The items added to the ObservableList.
Link copied to clipboard
The index within the ObservableList where this change occurred.
Link copied to clipboard
The items removed from the ObservableList.