java.lang.Object
javafx.beans.binding.MapExpression<K,V>
javafx.beans.property.ReadOnlyMapProperty<K,V>
javafx.beans.property.ReadOnlyMapPropertyBase<K,V>
- All Implemented Interfaces:
- Map<K,V>,- Observable,- ReadOnlyProperty<ObservableMap<K,V>>,- ObservableMapValue<K,V>,- ObservableObjectValue<ObservableMap<K,V>>,- ObservableValue<ObservableMap<K,V>>,- ObservableMap<K,V>
public abstract class ReadOnlyMapPropertyBase<K,V> extends ReadOnlyMapProperty<K,V>
Base class for all readonly properties wrapping an 
ObservableMap.
 This class provides a default implementation to attach listener.- Since:
- JavaFX 2.1
- See Also:
- ReadOnlyMapProperty
- 
Property SummaryProperties declared in class javafx.beans.binding.MapExpressionempty, size
- 
Nested Class Summary
- 
Constructor SummaryConstructors Constructor Description ReadOnlyMapPropertyBase()Creates a defaultReadOnlyMapPropertyBase.
- 
Method SummaryModifier and Type Method Description protected voidfireValueChangedEvent()This method needs to be called if the reference to theObservableListchanges.protected voidfireValueChangedEvent(MapChangeListener.Change<? extends K,? extends V> change)This method needs to be called if the content of the referencedObservableListchanges.Methods declared in class javafx.beans.property.ReadOnlyMapPropertybindContent, bindContentBidirectional, hashCode, toString, 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, 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.ReadOnlyPropertygetBean, getName
- 
Constructor Details- 
ReadOnlyMapPropertyBasepublic ReadOnlyMapPropertyBase()Creates a defaultReadOnlyMapPropertyBase.
 
- 
- 
Method Details- 
fireValueChangedEventprotected void fireValueChangedEvent()This method needs to be called if the reference to theObservableListchanges. It sends notifications to all attachedInvalidationListeners,ChangeListeners, andListChangeListener. This method needs to be called, if the value of this property changes.
- 
fireValueChangedEventThis method needs to be called if the content of the referencedObservableListchanges. Sends notifications to all attachedInvalidationListeners,ChangeListeners, andListChangeListener. This method is called when the content of the list changes.- Parameters:
- change- the change that needs to be propagated
 
 
-