Top Description Fields Constructors Methods
javafx.beans.property

public Class SimpleMapProperty<K, V>

extends MapPropertyBase<K, V>
Class Inheritance
Known Direct Subclasses
javafx.beans.property.ReadOnlyMapWrapper
Type Parameters
<K>
the type of the key elements of the Map
<V>
the type of the value elements of the Map
Imports
javafx.collections.ObservableMap

This class provides a full implementation of a Property wrapping an ObservableMap.
Since
JavaFX 2.1
See Also
MapPropertyBase

Field Summary

Modifier and TypeField and Description
private final Object
private static final Object
private static final String
private final String

Constructor Summary

AccessConstructor and Description
public
SimpleMapProperty()

The constructor of SimpleMapProperty

public
SimpleMapProperty(ObservableMap<K, V>
the initial value of the wrapped value
initialValue
)

The constructor of SimpleMapProperty

public
SimpleMapProperty(Object
the bean of this MapProperty
bean
,
String
the name of this MapProperty
name
)

The constructor of SimpleMapProperty

public
SimpleMapProperty(Object
the bean of this MapProperty
bean
,
String
the name of this MapProperty
name
,
ObservableMap<K, V>
the initial value of the wrapped value
initialValue
)

The constructor of SimpleMapProperty

Method Summary

Modifier and TypeMethod and Description
public Object
getBean()

Implements javafx.beans.property.ReadOnlyProperty.getBean.

Returns the Object that contains this property.

public String
getName()

Implements javafx.beans.property.ReadOnlyProperty.getName.

Returns the name of this property.

Inherited from javafx.beans.property.MapPropertyBase:
addListeneraddListeneraddListenerbindemptyPropertyfireValueChangedEventfireValueChangedEventgetinvalidatedisBoundremoveListenerremoveListenerremoveListenersetsizePropertytoStringunbind

Field Detail

beanback to summary
private final Object bean
DEFAULT_BEANback to summary
private static final Object DEFAULT_BEAN
DEFAULT_NAMEback to summary
private static final String DEFAULT_NAME
nameback to summary
private final String name

Constructor Detail

SimpleMapPropertyback to summary
public SimpleMapProperty()

The constructor of SimpleMapProperty

SimpleMapPropertyback to summary
public SimpleMapProperty(ObservableMap<K, V> initialValue)

The constructor of SimpleMapProperty

Parameters
initialValue:ObservableMap<K, V>

the initial value of the wrapped value

SimpleMapPropertyback to summary
public SimpleMapProperty(Object bean, String name)

The constructor of SimpleMapProperty

Parameters
bean:Object

the bean of this MapProperty

name:String

the name of this MapProperty

SimpleMapPropertyback to summary
public SimpleMapProperty(Object bean, String name, ObservableMap<K, V> initialValue)

The constructor of SimpleMapProperty

Parameters
bean:Object

the bean of this MapProperty

name:String

the name of this MapProperty

initialValue:ObservableMap<K, V>

the initial value of the wrapped value

Method Detail

getBeanback to summary
public Object getBean()

Implements javafx.beans.property.ReadOnlyProperty.getBean.

Doc from javafx.beans.property.ReadOnlyProperty.getBean.

Returns the Object that contains this property. If this property is not contained in an Object, null is returned.

Annotations
@Override
getNameback to summary
public String getName()

Implements javafx.beans.property.ReadOnlyProperty.getName.

Doc from javafx.beans.property.ReadOnlyProperty.getName.

Returns the name of this property. If the property does not have a name, this method returns an empty String.

Annotations
@Override