ChangeListener is notified whenever the value of an
ObservableValue changes. It can be registered and unregistered with
ObservableValue#addListener(ChangeListener) respectively
ObservableValue#removeListener(ChangeListener)
For an in-depth explanation of change events and how they differ from
invalidation events, see the documentation of ObservableValue.
The same instance of ChangeListener can be registered to listen to
multiple ObservableValues.
ObservableValue
| Modifier and Type | Method and Description |
|---|---|
| public void | changed(ObservableValue<? extends T>
The observable, T ObservableValue which value changedThe old value oldValue, T The new value newValue)Called when the value of an |
| changed | back to summary |
|---|---|
| public void changed(ObservableValue<? extends T> observable, T oldValue, T newValue) Called when the value of an In general, it is considered bad practice to modify the observed value in this method.
| |