org.jdesktop.observablecollections
public interface ObservableMapListener
ObservableMap
.Modifier and Type | Method and Description |
---|---|
void |
mapKeyAdded(ObservableMap map,
java.lang.Object key)
Notification that a key has been added.
|
void |
mapKeyRemoved(ObservableMap map,
java.lang.Object key,
java.lang.Object value)
Notification that a key has been removed
|
void |
mapKeyValueChanged(ObservableMap map,
java.lang.Object key,
java.lang.Object lastValue)
Notification that the value of an existing key has changed.
|
void mapKeyValueChanged(ObservableMap map, java.lang.Object key, java.lang.Object lastValue)
map
- the ObservableMap
that changedkey
- the keylastValue
- the previous valuevoid mapKeyAdded(ObservableMap map, java.lang.Object key)
map
- the ObservableMap
that changedkey
- the keyvoid mapKeyRemoved(ObservableMap map, java.lang.Object key, java.lang.Object value)
map
- the ObservableMap
that changedkey
- the keyvalue
- value for key before key was removed