K - the type of the key elements of the MapV - the type of the value elements of the Mappublic class SimpleMapProperty<K,V> extends MapPropertyBase<K,V>
Property wrapping an
ObservableMap.MapPropertyBase| Modifier and Type | Field and Description |
|---|---|
private java.lang.Object |
bean |
private static java.lang.Object |
DEFAULT_BEAN |
private static java.lang.String |
DEFAULT_NAME |
private java.lang.String |
name |
| Constructor and Description |
|---|
SimpleMapProperty()
The constructor of
SimpleMapProperty |
SimpleMapProperty(java.lang.Object bean,
java.lang.String name)
The constructor of
SimpleMapProperty |
SimpleMapProperty(java.lang.Object bean,
java.lang.String name,
ObservableMap<K,V> initialValue)
The constructor of
SimpleMapProperty |
SimpleMapProperty(ObservableMap<K,V> initialValue)
The constructor of
SimpleMapProperty |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getBean()
Returns the
Object that contains this property. |
java.lang.String |
getName()
Returns the name of this property.
|
addListener, addListener, addListener, bind, emptyProperty, fireValueChangedEvent, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, removeListener, set, sizeProperty, toString, unbindbindBidirectional, setValue, unbindBidirectionalbindContent, bindContentBidirectional, equals, hashCode, 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, waitgetValuegetValueprivate static final java.lang.Object DEFAULT_BEAN
private static final java.lang.String DEFAULT_NAME
private final java.lang.Object bean
private final java.lang.String name
public SimpleMapProperty()
SimpleMapPropertypublic SimpleMapProperty(ObservableMap<K,V> initialValue)
SimpleMapPropertyinitialValue - the initial value of the wrapped valuepublic SimpleMapProperty(java.lang.Object bean,
java.lang.String name)
SimpleMapPropertybean - the bean of this MapPropertyname - the name of this MapPropertypublic SimpleMapProperty(java.lang.Object bean,
java.lang.String name,
ObservableMap<K,V> initialValue)
SimpleMapPropertybean - the bean of this MapPropertyname - the name of this MapPropertyinitialValue - the initial value of the wrapped valuepublic java.lang.Object getBean()
Object that contains this property. If this property
is not contained in an Object, null is returned.Object or nullpublic java.lang.String getName()
String.String