# Uses of Interface
javafx.beans.value.ChangeListener

Packages that use ChangeListener
Package | Description
--- | ---
javafx.beans.value | The package `javafx.beans.value` contains the two fundamental interfaces `ObservableValue` and `WritableValue` 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>` | A `WeakChangeListener` can be used if an `ObservableValue` 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 a `ChangeListener` which will be notified whenever the value of the `ObservableValue` changes.
  `void` | ObservableValue.`removeListener​(ChangeListener<? super T> listener)` | Removes the given listener from the list of listeners that are notified whenever the value of the `ObservableValue` changes.

  Constructors in javafx.beans.value with parameters of type ChangeListener
  Constructor | Description
  --- | ---
  `WeakChangeListener​(ChangeListener<T> listener)` | The constructor of `WeakChangeListener`.