Uses of Interface
javafx.beans.InvalidationListener
Package | Description |
---|---|
javafx.beans |
The package
javafx.beans contains the interfaces that
define the most generic form of observability. |
-
Uses of InvalidationListener in javafx.beans
Classes in javafx.beans that implement InvalidationListener Modifier and Type Class Description class
WeakInvalidationListener
AWeakInvalidationListener
can be used if anObservable
should only maintain a weak reference to the listener.Methods in javafx.beans with parameters of type InvalidationListener Modifier and Type Method Description void
Observable. addListener(InvalidationListener listener)
Adds anInvalidationListener
which will be notified whenever theObservable
becomes invalid.void
Observable. removeListener(InvalidationListener listener)
Removes the given listener from the list of listeners, that are notified whenever the value of theObservable
becomes invalid.Constructors in javafx.beans with parameters of type InvalidationListener Constructor Description WeakInvalidationListener(InvalidationListener listener)
The constructor ofWeakInvalidationListener
.