@FunctionalInterface
public abstract interface ChangeListener<T>
  Comment     Returned-by     Constructor-argument     Method-argument     Field-type     Type-bound     Links  

A 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.

See also:
ObservableValue

Since:  JavaFX 2.0