java.lang.Object
javafx.beans.binding.MapExpression<K,V>
javafx.beans.property.ReadOnlyMapProperty<K,V>
javafx.beans.property.MapProperty<K,V>
javafx.beans.property.MapPropertyBase<K,V>
javafx.beans.property.SimpleMapProperty<K,V>
javafx.beans.property.ReadOnlyMapWrapper<K,V>
- 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>
public class ReadOnlyMapWrapper<K,V> extends SimpleMapProperty<K,V>
This class provides a convenient class to define read-only properties. It
 creates two properties that are synchronized. One property is read-only
 and can be passed to external users. The other property is read- and
 writable and should be used internally only.
- Since:
- JavaFX 2.1
- 
Property SummaryProperties declared in class javafx.beans.binding.MapExpressionempty, size
- 
Nested Class Summary
- 
Constructor SummaryConstructors Constructor Description ReadOnlyMapWrapper()The constructor ofReadOnlyMapWrapperReadOnlyMapWrapper(Object bean, String name)The constructor ofReadOnlyMapWrapperReadOnlyMapWrapper(Object bean, String name, ObservableMap<K,V> initialValue)The constructor ofReadOnlyMapWrapperReadOnlyMapWrapper(ObservableMap<K,V> initialValue)The constructor ofReadOnlyMapWrapper
- 
Method SummaryModifier and Type Method Description ReadOnlyMapProperty<K,V>getReadOnlyProperty()Returns the readonly property, that is synchronized with thisReadOnlyMapWrapper.Methods declared in class javafx.beans.property.MapPropertyBasefireValueChangedEvent, fireValueChangedEvent, invalidated, toStringMethods 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- 
ReadOnlyMapWrapperpublic ReadOnlyMapWrapper()The constructor ofReadOnlyMapWrapper
- 
ReadOnlyMapWrapperThe constructor ofReadOnlyMapWrapper- Parameters:
- initialValue- the initial value of the wrapped value
 
- 
ReadOnlyMapWrapperThe constructor ofReadOnlyMapWrapper- Parameters:
- bean- the bean of this- ReadOnlyMapWrapper
- name- the name of this- ReadOnlyMapWrapper
 
- 
ReadOnlyMapWrapperThe constructor ofReadOnlyMapWrapper- Parameters:
- bean- the bean of this- ReadOnlyMapWrapper
- name- the name of this- ReadOnlyMapWrapper
- initialValue- the initial value of the wrapped value
 
 
- 
- 
Method Details- 
getReadOnlyPropertyReturns the readonly property, that is synchronized with thisReadOnlyMapWrapper.- Returns:
- the readonly property
 
 
-