Class ReadOnlyMapPropertyBaseEx<K,V>

Type Parameters:
K - The key type of the wrapped ObservableMap.
V - The value type of the wrapped ObservableMap.
All Implemented Interfaces:
Map<K,V>, Observable, ReadOnlyProperty<ObservableMap<K,V>>, ObservableMapValue<K,V>, ObservableObjectValue<ObservableMap<K,V>>, ObservableValue<ObservableMap<K,V>>, ObservableMap<K,V>

public abstract class ReadOnlyMapPropertyBaseEx<K,V> extends ReadOnlyMapPropertyBase<K,V>
A replacement for ReadOnlyMapWrapper to fix the following JavaFX issues:
  • All listeners were removed when removing one (https://bugs.openjdk.java.net/browse/JDK-8136465): fixed by keeping track of all listeners and ensuring that remaining listeners are re-added when a listener is removed.
  • Change notifications are fired even when the observed value did not change.(https://bugs.openjdk.java.net/browse/JDK-8089169)