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
emptyProperty, sizeProperty
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(<any> initialValue)
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,
<any> 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
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(<any> 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, <any> 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