javafx.collections.ObservableMap .
This class provides a default implementation to attach listener.
ReadOnlyMapProperty
| Modifier and Type | Field and Description |
|---|---|
| private MapExpressionHelper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addListener(InvalidationListener
The listener to register listener)Implements javafx. Adds an |
| public void | addListener(ChangeListener<? super ObservableMap<K, V>>
The listener to register listener)Implements javafx. Adds a |
| public void | addListener(MapChangeListener<? super K, ? super V>
the listener for listening to the list changes listener)Implements javafx. Add a listener to this observable map. |
| protected void | fireValueChangedEvent()
This method needs to be called if the reference to the
|
| protected void | fireValueChangedEvent(MapChangeListener.
the change that needs to be propagated changeThis method needs to be called if the content of the referenced
|
| public void | removeListener(InvalidationListener
The listener to remove listener)Implements javafx. Removes the given listener from the list of listeners, that are notified
whenever the value of the |
| public void | removeListener(ChangeListener<? super ObservableMap<K, V>>
The listener to remove listener)Implements javafx. Removes the given listener from the list of listeners that are notified
whenever the value of the |
| public void | removeListener(MapChangeListener<? super K, ? super V>
a listener to remove listener)Implements javafx. Tries to removed a listener from this observable map. |
| helper | back to summary |
|---|---|
| private MapExpressionHelper<K, V> helper | |
| ReadOnlyMapPropertyBase | back to summary |
|---|---|
| public ReadOnlyMapPropertyBase() Creates a default | |
| addListener | back to summary |
|---|---|
| public void addListener(InvalidationListener listener) Implements javafx. Doc from javafx. Adds an
Note that the same actual
The
| |
| addListener | back to summary |
|---|---|
| public void addListener(ChangeListener<? super ObservableMap<K, V>> listener) Implements javafx. Doc from javafx. Adds a
Note that the same actual
The
| |
| addListener | back to summary |
|---|---|
| public void addListener(MapChangeListener<? super K, ? super V> listener) Implements javafx. Doc from javafx. Add a listener to this observable map.
| |
| fireValueChangedEvent | back to summary |
|---|---|
| protected void fireValueChangedEvent() This method needs to be called if the reference to the
| |
| fireValueChangedEvent | back to summary |
|---|---|
| protected void fireValueChangedEvent(MapChangeListener. This method needs to be called if the content of the referenced
| |
| removeListener | back to summary |
|---|---|
| public void removeListener(InvalidationListener listener) Implements javafx. Doc from javafx. Removes the given listener from the list of listeners, that are notified
whenever the value of the If the given listener has not been previously registered (i.e. it was never added) then this method call is a no-op. If it had been previously added then it will be removed. If it had been added more than once, then only the first occurrence will be removed.
| |
| removeListener | back to summary |
|---|---|
| public void removeListener(ChangeListener<? super ObservableMap<K, V>> listener) Implements javafx. Doc from javafx. Removes the given listener from the list of listeners that are notified
whenever the value of the If the given listener has not been previously registered (i.e. it was never added) then this method call is a no-op. If it had been previously added then it will be removed. If it had been added more than once, then only the first occurrence will be removed.
| |
| removeListener | back to summary |
|---|---|
| public void removeListener(MapChangeListener<? super K, ? super V> listener) Implements javafx. Doc from javafx. Tries to removed a listener from this observable map. If the listener is not attached to this map, nothing happens.
| |