# Uses of Interface
javafx.beans.InvalidationListener

Packages that use 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` | A `WeakInvalidationListener` can be used if an `Observable` 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 an `InvalidationListener` which will be notified whenever the `Observable` becomes invalid.
  `void` | Observable.`removeListener​(InvalidationListener listener)` | Removes the given listener from the list of listeners, that are notified whenever the value of the `Observable` becomes invalid.

  Constructors in javafx.beans with parameters of type InvalidationListener
  Constructor | Description
  --- | ---
  `WeakInvalidationListener​(InvalidationListener listener)` | The constructor of `WeakInvalidationListener`.