Interface ObservableMapListener
public interface ObservableMapListener
Notification types from an
ObservableMap
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
mapKeyAdded
(ObservableMap map, Object key) Notification that a key has been added.void
mapKeyRemoved
(ObservableMap map, Object key, Object value) Notification that a key has been removedvoid
mapKeyValueChanged
(ObservableMap map, Object key, Object lastValue) Notification that the value of an existing key has changed.
-
Method Details
-
mapKeyValueChanged
Notification that the value of an existing key has changed.- Parameters:
map
- theObservableMap
that changedkey
- the keylastValue
- the previous value
-
mapKeyAdded
Notification that a key has been added.- Parameters:
map
- theObservableMap
that changedkey
- the key
-
mapKeyRemoved
Notification that a key has been removed- Parameters:
map
- theObservableMap
that changedkey
- the keyvalue
- value for key before key was removed
-