- All Known Implementing Classes:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface InvalidationListenerAn
InvalidationListeneris notified whenever an
Observablebecomes invalid. It can be registered and unregistered with
For an in-depth explanation of invalidation events and how they differ from change events, see the documentation of
The same instance of
InvalidationListenercan be registered to listen to multiple
void invalidated(Observable observable)This method needs to be provided by an implementation of
InvalidationListener. It is called if an
In general is is considered bad practice to modify the observed value in this method.
Observablethat became invalid