public class ReadOnlyMapWrapper<K,V> extends SimpleMapProperty<K,V>
emptyProperty, sizeProperty
Modifier and Type | Class and Description |
---|---|
private class |
ReadOnlyMapWrapper.ReadOnlyPropertyImpl |
Modifier and Type | Field and Description |
---|---|
private ReadOnlyMapWrapper.ReadOnlyPropertyImpl |
readOnlyProperty |
Constructor and Description |
---|
ReadOnlyMapWrapper()
The constructor of
ReadOnlyMapWrapper |
ReadOnlyMapWrapper(<any> initialValue)
The constructor of
ReadOnlyMapWrapper |
ReadOnlyMapWrapper(java.lang.Object bean,
java.lang.String name)
The constructor of
ReadOnlyMapWrapper |
ReadOnlyMapWrapper(java.lang.Object bean,
java.lang.String name,
<any> initialValue)
The constructor of
ReadOnlyMapWrapper |
Modifier and Type | Method and Description |
---|---|
protected void |
fireValueChangedEvent()
Sends notifications to all attached
InvalidationListeners ,
ChangeListeners , and
javafx.collections.MapChangeListener . |
protected void |
fireValueChangedEvent(<any> change)
Sends notifications to all attached
InvalidationListeners ,
ChangeListeners , and
javafx.collections.MapChangeListener . |
ReadOnlyMapProperty<K,V> |
getReadOnlyProperty()
Returns the readonly property, that is synchronized with this
ReadOnlyMapWrapper . |
getBean, getName
addListener, addListener, addListener, bind, emptyProperty, get, invalidated, isBound, removeListener, removeListener, removeListener, set, sizeProperty, toString, unbind
bindBidirectional, setValue, unbindBidirectional
bindContent, bindContentBidirectional, equals, hashCode, unbindContent, unbindContentBidirectional
private ReadOnlyMapWrapper.ReadOnlyPropertyImpl readOnlyProperty
public ReadOnlyMapWrapper()
ReadOnlyMapWrapper
public ReadOnlyMapWrapper(<any> initialValue)
ReadOnlyMapWrapper
initialValue
- the initial value of the wrapped valuepublic ReadOnlyMapWrapper(java.lang.Object bean, java.lang.String name)
ReadOnlyMapWrapper
bean
- the bean of this ReadOnlyMapWrapper
name
- the name of this ReadOnlyMapWrapper
public ReadOnlyMapWrapper(java.lang.Object bean, java.lang.String name, <any> initialValue)
ReadOnlyMapWrapper
bean
- the bean of this ReadOnlyMapWrapper
name
- the name of this ReadOnlyMapWrapper
initialValue
- the initial value of the wrapped valuepublic ReadOnlyMapProperty<K,V> getReadOnlyProperty()
ReadOnlyMapWrapper
.protected void fireValueChangedEvent()
InvalidationListeners
,
ChangeListeners
, and
javafx.collections.MapChangeListener
.
This method is called when the value is changed, either manually by
calling #set(javafx.collections.ObservableMap)
or in case of a bound property, if the
binding becomes invalid.fireValueChangedEvent
in class MapPropertyBase<K,V>
protected void fireValueChangedEvent(<any> change)
InvalidationListeners
,
ChangeListeners
, and
javafx.collections.MapChangeListener
.
This method is called when the content of the list changes.fireValueChangedEvent
in class MapPropertyBase<K,V>
change
- the change that needs to be propagated