JavaScript is disabled on your browser.
JavaScript is disabled on your browser.
Type Parameters:
K
- key type
V
- value type
Enclosing interface:
MapChangeListener <K ,V >
public abstract static class MapChangeListener.Change<K,V>
extends Object
An elementary change done to an ObservableMap.
Change contains information about a put or remove operation.
Note that put operation might remove an element if there was
already a value associated with the same key. In this case
wasAdded() and wasRemoved() will both return true.
Since:
JavaFX 2.0
Constructor Summary
Constructors
Constructor
Description
Change (ObservableMap <K ,V > map)
Constructs a change associated with a map.
Method Summary
Methods declared in class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Method Detail
getKey
public abstract K getKey()
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.
Returns:
the key that changed
JavaScript is disabled on your browser.
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2018, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy .
Scripting on this page tracks web page traffic, but does not change the content in any way.