Uses of Interface
javafx.beans.value.ChangeListener
-
Packages that use ChangeListener Package Description javafx.beans.value The packagejavafx.beans.value
contains the two fundamental interfacesObservableValue
andWritableValue
and all of its sub-interfaces. -
-
Uses of ChangeListener in javafx.beans.value
Classes in javafx.beans.value that implement ChangeListener Modifier and Type Class Description class
WeakChangeListener<T>
AWeakChangeListener
can be used if anObservableValue
should only maintain a weak reference to the listener.Methods in javafx.beans.value with parameters of type ChangeListener Modifier and Type Method Description void
ObservableValue. addListener(ChangeListener<? super T> listener)
Adds aChangeListener
which will be notified whenever the value of theObservableValue
changes.void
ObservableValue. removeListener(ChangeListener<? super T> listener)
Removes the given listener from the list of listeners, that are notified whenever the value of theObservableValue
changes.Constructors in javafx.beans.value with parameters of type ChangeListener Constructor Description WeakChangeListener(ChangeListener<T> listener)
The constructor ofWeakChangeListener
.
-