Interface WritableMapValue<K,V>
- Type Parameters:
K- the type of the key elements of theMapV- the type of the value elements of theMap
- All Superinterfaces:
Map<K,V>, Observable, ObservableMap<K, V>, WritableObjectValue<ObservableMap<K, V>>, WritableValue<ObservableMap<K, V>>
- All Known Implementing Classes:
MapProperty, MapPropertyBase, ReadOnlyMapWrapper, SimpleMapProperty
public interface WritableMapValue<K,V>
extends WritableObjectValue<ObservableMap<K,V>>, ObservableMap<K,V>
A writable reference to an
ObservableMap.- Since:
- JavaFX 2.1
- See Also:
-
Nested Class Summary
-
Method Summary
Methods declared in interface Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods declared in interface Observable
addListener, removeListener, subscribeModifier and TypeMethodDescriptionvoidaddListener(InvalidationListener listener) Adds anInvalidationListenerwhich will be notified whenever theObservablebecomes invalid.voidremoveListener(InvalidationListener listener) Removes the given listener from the list of listeners, that are notified whenever the value of theObservablebecomes invalid.default SubscriptionCreates aSubscriptionon thisObservablewhich callsinvalidationSubscriberwhenever it becomes invalid.Methods declared in interface ObservableMap
addListener, removeListenerModifier and TypeMethodDescriptionvoidaddListener(MapChangeListener<? super K, ? super V> listener) Add a listener to this observable map.voidremoveListener(MapChangeListener<? super K, ? super V> listener) Tries to removed a listener from this observable map.Methods declared in interface WritableObjectValue
get, setModifier and TypeMethodDescriptionget()Get the wrapped value.voidset(ObservableMap<K, V> value) Set the wrapped value.Methods declared in interface WritableValue
getValue, setValueModifier and TypeMethodDescriptiongetValue()Get the wrapped value.voidsetValue(ObservableMap<K, V> value) Set the wrapped value.