K
- The key type of the wrapped ObservableMap
.V
- The value type of the wrapped ObservableMap
.public class ReadOnlyMapWrapperEx<K,V>
extends javafx.beans.property.ReadOnlyMapWrapper<K,V>
ReadOnlyMapWrapper
to fix the following JavaFX
issues:
bindBidirectional(Property)
and
unbindBidirectional(Property)
, which relied on the wrong
implementation.Constructor and Description |
---|
ReadOnlyMapWrapperEx()
The constructor of
ReadOnlyMapWrapperEx |
ReadOnlyMapWrapperEx(java.lang.Object bean,
java.lang.String name)
The constructor of
ReadOnlyMapWrapperEx |
ReadOnlyMapWrapperEx(java.lang.Object bean,
java.lang.String name,
javafx.collections.ObservableMap<K,V> initialValue)
The constructor of
ReadOnlyMapWrapperEx |
ReadOnlyMapWrapperEx(javafx.collections.ObservableMap<K,V> initialValue)
The constructor of
ReadOnlyMapWrapperEx |
Modifier and Type | Method and Description |
---|---|
void |
addListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableMap<K,V>> listener) |
void |
addListener(javafx.beans.InvalidationListener listener) |
void |
addListener(javafx.collections.MapChangeListener<? super K,? super V> listener) |
void |
bindBidirectional(javafx.beans.property.Property<javafx.collections.ObservableMap<K,V>> other) |
boolean |
equals(java.lang.Object other) |
protected void |
fireValueChangedEvent() |
protected void |
fireValueChangedEvent(javafx.collections.MapChangeListener.Change<? extends K,? extends V> change) |
javafx.beans.property.ReadOnlyMapProperty<K,V> |
getReadOnlyProperty()
Returns the readonly property, that is synchronized with this
ReadOnlyMapWrapper . |
int |
hashCode() |
void |
removeListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableMap<K,V>> listener) |
void |
removeListener(javafx.beans.InvalidationListener listener) |
void |
removeListener(javafx.collections.MapChangeListener<? super K,? super V> listener) |
void |
unbindBidirectional(javafx.beans.property.Property<javafx.collections.ObservableMap<K,V>> other) |
bind, emptyProperty, get, invalidated, isBound, set, sizeProperty, toString, unbind
bindContent, bindContentBidirectional, unbindContent, unbindContentBidirectional
asString, clear, containsKey, containsValue, entrySet, get, getSize, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, keySet, mapExpression, put, putAll, remove, size, valueAt, valueAt, values
public ReadOnlyMapWrapperEx()
ReadOnlyMapWrapperEx
public ReadOnlyMapWrapperEx(java.lang.Object bean, java.lang.String name)
ReadOnlyMapWrapperEx
bean
- the bean of this ReadOnlyMapWrapperEx
name
- the name of this ReadOnlyMapWrapperEx
public ReadOnlyMapWrapperEx(java.lang.Object bean, java.lang.String name, javafx.collections.ObservableMap<K,V> initialValue)
ReadOnlyMapWrapperEx
bean
- the bean of this ReadOnlyMapWrapperEx
name
- the name of this ReadOnlyMapWrapperEx
initialValue
- the initial value of the wrapped valuepublic void addListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableMap<K,V>> listener)
public void addListener(javafx.beans.InvalidationListener listener)
public void addListener(javafx.collections.MapChangeListener<? super K,? super V> listener)
public void bindBidirectional(javafx.beans.property.Property<javafx.collections.ObservableMap<K,V>> other)
public boolean equals(java.lang.Object other)
protected void fireValueChangedEvent()
protected void fireValueChangedEvent(javafx.collections.MapChangeListener.Change<? extends K,? extends V> change)
public javafx.beans.property.ReadOnlyMapProperty<K,V> getReadOnlyProperty()
ReadOnlyMapWrapper
.public int hashCode()
public void removeListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableMap<K,V>> listener)
public void removeListener(javafx.beans.InvalidationListener listener)
public void removeListener(javafx.collections.MapChangeListener<? super K,? super V> listener)
Copyright (c) 2014 itemis AG and others. All rights reserved.