K
- the type of the key elements of the Map
V
- the type of the value elements of the Map
public 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, unbind
bindBidirectional, setValue, unbindBidirectional
bindContent, bindContentBidirectional, equals, hashCode, unbindContent, unbindContentBidirectional
asString, clear, containsKey, containsValue, entrySet, get, getSize, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, keySet, mapExpression, put, putAll, remove, size, valueAt, valueAt, values
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getValue
getValue
private 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()
SimpleMapProperty
public SimpleMapProperty(ObservableMap<K,V> initialValue)
SimpleMapProperty
initialValue
- the initial value of the wrapped valuepublic SimpleMapProperty(java.lang.Object bean, java.lang.String name)
SimpleMapProperty
bean
- the bean of this MapProperty
name
- the name of this MapProperty
public SimpleMapProperty(java.lang.Object bean, java.lang.String name, ObservableMap<K,V> initialValue)
SimpleMapProperty
bean
- the bean of this MapProperty
name
- the name of this MapProperty
initialValue
- 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 null
public java.lang.String getName()
String
.String