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.
Observable, ObservableValue
| Modifier and Type | Method and Description |
|---|---|
| public void | invalidated(Observable
The observable)Observable that became invalidThis method needs to be provided by an implementation of
|
| invalidated | back to summary |
|---|---|
| public void invalidated(Observable observable) This method needs to be provided by an implementation of
In general, it is considered bad practice to modify the observed value in this method.
| |