java.lang.Object
javafx.beans.binding.MapExpression<K,V>
javafx.beans.property.ReadOnlyMapProperty<K,V>
javafx.beans.property.MapProperty<K,V>
- Type Parameters:
- K- the type of the key elements of the- Map
- V- the type of the value elements of the- Map
- All Implemented Interfaces:
- Map<K,V>,- Observable,- Property<ObservableMap<K,V>>,- ReadOnlyProperty<ObservableMap<K,V>>,- ObservableMapValue<K,V>,- ObservableObjectValue<ObservableMap<K,V>>,- ObservableValue<ObservableMap<K,V>>,- WritableMapValue<K,V>,- WritableObjectValue<ObservableMap<K,V>>,- WritableValue<ObservableMap<K,V>>,- ObservableMap<K,V>
- Direct Known Subclasses:
- MapPropertyBase
public abstract class MapProperty<K,V> extends ReadOnlyMapProperty<K,V> implements Property<ObservableMap<K,V>>, WritableMapValue<K,V>
This class provides a full implementation of a 
Property wrapping an
 ObservableMap.
 The value of a MapProperty can be get and set with ObservableObjectValue.get(),
 ObservableValue.getValue(), WritableObjectValue.set(Object), and WritableValue.setValue(javafx.collections.ObservableMap).
 A property can be bound and unbound unidirectional with
 Property.bind(javafx.beans.value.ObservableValue) and Property.unbind(). Bidirectional bindings
 can be created and removed with Property.bindBidirectional(Property) and
 Property.unbindBidirectional(Property).
 The context of a MapProperty can be read with ReadOnlyProperty.getBean()
 and ReadOnlyProperty.getName().- Since:
- JavaFX 2.1
- See Also:
- ObservableMap,- ObservableMapValue,- WritableMapValue,- ReadOnlyMapProperty,- Property
- 
Property SummaryProperties declared in class javafx.beans.binding.MapExpressionempty, size
- 
Nested Class Summary
- 
Constructor SummaryConstructors Constructor Description MapProperty()Creates a defaultMapProperty.
- 
Method SummaryMethods declared in class javafx.beans.property.ReadOnlyMapPropertybindContent, bindContentBidirectional, hashCode, unbindContent, unbindContentBidirectionalMethods declared in class javafx.beans.binding.MapExpressionasString, emptyProperty, getSize, isEqualTo, isNotEqualTo, isNotNull, isNull, mapExpression, sizeProperty, valueAt, valueAtMethods declared in class java.lang.Objectclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods declared in interface java.util.Mapclear, 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 javafx.beans.ObservableaddListener, removeListenerMethods declared in interface javafx.collections.ObservableMapaddListener, removeListenerMethods declared in interface javafx.beans.value.ObservableObjectValuegetMethods declared in interface javafx.beans.value.ObservableValueaddListener, getValue, removeListenerMethods declared in interface javafx.beans.property.Propertybind, bindBidirectional, isBound, unbind, unbindBidirectionalMethods declared in interface javafx.beans.property.ReadOnlyPropertygetBean, getNameMethods declared in interface javafx.beans.value.WritableObjectValueget, setMethods declared in interface javafx.beans.value.WritableValuegetValue, setValue
- 
Constructor Details- 
MapPropertypublic MapProperty()Creates a defaultMapProperty.
 
- 
- 
Method Details- 
toStringReturns a string representation of thisMapPropertyobject.- Overrides:
- toStringin class- ReadOnlyMapProperty<K,V>
- Returns:
- a string representation of this MapPropertyobject.
 
 
-