Module javafx.base

Interface ObservableMap<K,V>

    • Method Detail

      • addListener

        void addListener​(MapChangeListener<? super K,? super V> listener)
        Add a listener to this observable map.
        Parameters:
        listener - the listener for listening to the list changes
      • removeListener

        void removeListener​(MapChangeListener<? super K,? super V> listener)
        Tries to removed a listener from this observable map. If the listener is not attached to this map, nothing happens.
        Parameters:
        listener - a listener to remove