@FunctionalInterface
public abstract interface InvalidationListener
  Comment     Returned-by     Constructor-argument     Method-argument     Field-type     Type-bound     Links  

An InvalidationListener is notified whenever an Observable becomes invalid. It can be registered and unregistered with Observable.addListener(InvalidationListener) respectively Observable.removeListener(InvalidationListener)

For an in-depth explanation of invalidation events and how they differ from change events, see the documentation of ObservableValue.

The same instance of InvalidationListener can be registered to listen to multiple Observables.

See also:
Observable, ObservableValue

Since:  JavaFX 2.0