K - The key type of the wrapped ObservableMap.V - The value type of the wrapped ObservableMap.public class SimpleMapPropertyEx<K,V> extends SimpleMapProperty<K,V>
SimpleMapProperty to fix the following JavaFX
issues:
empty, size| Constructor and Description |
|---|
SimpleMapPropertyEx()
Creates a new unnamed
SimpleMapPropertyEx. |
SimpleMapPropertyEx(Object bean,
String name)
Constructs a new
SimpleMapPropertyEx for the given bean and with
the given name. |
SimpleMapPropertyEx(Object bean,
String name,
ObservableMap<K,V> initialValue)
Constructs a new
SimpleMapPropertyEx for the given bean and with
the given name and initial value. |
SimpleMapPropertyEx(ObservableMap<K,V> initialValue)
Constructs a new unnamed
SimpleMapPropertyEx that is not related
to a bean, with the given initial value. |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ChangeListener<? super ObservableMap<K,V>> listener) |
void |
addListener(InvalidationListener listener) |
void |
addListener(MapChangeListener<? super K,? super V> listener) |
protected void |
fireValueChangedEvent() |
protected void |
fireValueChangedEvent(MapChangeListener.Change<? extends K,? extends V> change) |
int |
hashCode() |
void |
removeListener(ChangeListener<? super ObservableMap<K,V>> listener) |
void |
removeListener(InvalidationListener listener) |
void |
removeListener(MapChangeListener<? super K,? super V> listener) |
getBean, getNamebind, emptyProperty, get, invalidated, isBound, set, sizeProperty, toString, unbindbindBidirectional, setValue, unbindBidirectionalbindContent, bindContentBidirectional, equals, unbindContent, unbindContentBidirectionalasString, clear, containsKey, containsValue, entrySet, get, getSize, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, keySet, mapExpression, put, putAll, remove, size, valueAt, valueAt, valuesclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetValuegetValueclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic SimpleMapPropertyEx()
SimpleMapPropertyEx.public SimpleMapPropertyEx(Object bean, String name)
SimpleMapPropertyEx for the given bean and with
the given name.bean - The bean this property is related to.name - The name of the property.public SimpleMapPropertyEx(Object bean, String name, ObservableMap<K,V> initialValue)
SimpleMapPropertyEx for the given bean and with
the given name and initial value.bean - The bean this property is related to.name - The name of the property.initialValue - The initial value of the propertypublic SimpleMapPropertyEx(ObservableMap<K,V> initialValue)
SimpleMapPropertyEx that is not related
to a bean, with the given initial value.initialValue - The initial value of the propertypublic void addListener(ChangeListener<? super ObservableMap<K,V>> listener)
addListener in interface ObservableValue<ObservableMap<K,V>>addListener in class MapPropertyBase<K,V>public void addListener(InvalidationListener listener)
addListener in interface ObservableaddListener in class MapPropertyBase<K,V>public void addListener(MapChangeListener<? super K,? super V> listener)
addListener in interface ObservableMap<K,V>addListener in class MapPropertyBase<K,V>protected void fireValueChangedEvent()
fireValueChangedEvent in class MapPropertyBase<K,V>protected void fireValueChangedEvent(MapChangeListener.Change<? extends K,? extends V> change)
fireValueChangedEvent in class MapPropertyBase<K,V>public int hashCode()
public void removeListener(ChangeListener<? super ObservableMap<K,V>> listener)
removeListener in interface ObservableValue<ObservableMap<K,V>>removeListener in class MapPropertyBase<K,V>public void removeListener(InvalidationListener listener)
removeListener in interface ObservableremoveListener in class MapPropertyBase<K,V>public void removeListener(MapChangeListener<? super K,? super V> listener)
removeListener in interface ObservableMap<K,V>removeListener in class MapPropertyBase<K,V>Copyright (c) 2014 itemis AG and others. All rights reserved.