# Uses of Interface
javafx.collections.SetChangeListener

Packages that use SetChangeListener
Package | Description
--- | ---
javafx.collections | Contains the essential JavaFX collections and collection utilities

- ## Uses of SetChangeListener in javafx.collections

  Classes in javafx.collections that implement SetChangeListener
  Modifier and Type | Class | Description
  --- | --- | ---
  `class` | `WeakSetChangeListener<E>` | A `WeakSetChangeListener` can be used, if an `ObservableSet` should only maintain a weak reference to the listener.

  Methods in javafx.collections with parameters of type SetChangeListener
  Modifier and Type | Method | Description
  --- | --- | ---
  `void` | ObservableSet.`addListener​(SetChangeListener<? super E> listener)` | Add a listener to this observable set.
  `void` | ObservableSet.`removeListener​(SetChangeListener<? super E> listener)` | Tries to removed a listener from this observable set.

  Constructors in javafx.collections with parameters of type SetChangeListener
  Constructor | Description
  --- | ---
  `WeakSetChangeListener​(SetChangeListener<E> listener)` | The constructor of `WeakSetChangeListener`.