K
- key typeV
- value typepublic abstract static class MapChangeListener.Change<K,V> extends Object
Constructor and Description |
---|
Change(ObservableMap<K,V> map)
Constructs a change associated with a map.
|
Modifier and Type | Method and Description |
---|---|
abstract K |
getKey()
A key associated with the change.
|
ObservableMap<K,V> |
getMap()
An observable map that is associated with the change.
|
abstract V |
getValueAdded()
Get the new value of the key.
|
abstract V |
getValueRemoved()
Get the old value of the key.
|
abstract boolean |
wasAdded()
If this change is a result of add operation.
|
abstract boolean |
wasRemoved()
If this change is a result of removal operation.
|
public Change(ObservableMap<K,V> map)
map
- the source of the changepublic ObservableMap<K,V> getMap()
public abstract boolean wasAdded()
public abstract boolean wasRemoved()
public abstract K getKey()
public abstract V getValueAdded()
public abstract V getValueRemoved()
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.