# Uses of Interface
javafx.collections.MapChangeListener

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

- ## Uses of MapChangeListener in javafx.collections

  Classes in javafx.collections that implement MapChangeListener
  Modifier and Type | Class | Description
  --- | --- | ---
  `class` | `WeakMapChangeListener<K,​V>` | A `WeakMapChangeListener` can be used, if an `ObservableMap` should only maintain a weak reference to the listener.

  Methods in javafx.collections with parameters of type MapChangeListener
  Modifier and Type | Method | Description
  --- | --- | ---
  `void` | ObservableMap.`addListener​(MapChangeListener<? super K,​? super V> listener)` | Add a listener to this observable map.
  `void` | ObservableMap.`removeListener​(MapChangeListener<? super K,​? super V> listener)` | Tries to removed a listener from this observable map.

  Constructors in javafx.collections with parameters of type MapChangeListener
  Constructor | Description
  --- | ---
  `WeakMapChangeListener​(MapChangeListener<K,​V> listener)` | The constructor of `WeakMapChangeListener`.