| Modifier and Type | Field and Description |
|---|---|
| private final MapChangeListener. |
| Access | Constructor and Description |
|---|---|
| public | MapAdapterChange(ObservableMap<K, V> map, MapChangeListener.
|
| Modifier and Type | Method and Description |
|---|---|
| public K | getKey()
Implements abstract javafx. A key associated with the change. |
| public V | getValueAdded()
Implements abstract javafx. Get the new value of the key. |
| public V | getValueRemoved()
Implements abstract javafx. Get the old value of the key. |
| public String | |
| public boolean | wasAdded()
Implements abstract javafx. If this change is a result of add operation. |
| public boolean | wasRemoved()
Implements abstract javafx. If this change is a result of removal operation. |
| change | back to summary |
|---|---|
| private final MapChangeListener. | |
| MapAdapterChange | back to summary |
|---|---|
| public MapAdapterChange(ObservableMap<K, V> map, MapChangeListener. | |
| getKey | back to summary |
|---|---|
| public K getKey() Implements abstract javafx. Doc from javafx. A key associated with the change. If the change is a remove change, the key no longer exist in a map. Otherwise, the key got set to a new value.
| |
| getValueAdded | back to summary |
|---|---|
| public V getValueAdded() Implements abstract javafx. Doc from javafx. Get the new value of the key. Return null if this is a removal.
| |
| getValueRemoved | back to summary |
|---|---|
| public V getValueRemoved() Implements abstract javafx. Doc from javafx. Get the old value of the key. This is null if and only if the value was added to the key that was not previously in the map.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| wasAdded | back to summary |
|---|---|
| public boolean wasAdded() Implements abstract javafx. Doc from javafx. If this change is a result of add operation.
| |
| wasRemoved | back to summary |
|---|---|
| public boolean wasRemoved() Implements abstract javafx. Doc from javafx. If this change is a result of removal operation. Note that an element might be removed even as a result of put operation.
| |