APIdia Launch Partner
Top Description Fields Constructors Methods
javafx.beans.property

public Class SimpleListProperty<E>

extends ListPropertyBase<E>
Class Inheritance
Known Direct Subclasses
javafx.beans.property.ReadOnlyListWrapper
Type Parameters
<E>
the type of the List elements
Imports
javafx.collections.ObservableList

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

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
SimpleListProperty()

The constructor of SimpleListProperty

public
SimpleListProperty(ObservableList<E>
the initial value of the wrapped value
initialValue
)

The constructor of SimpleListProperty

public
SimpleListProperty(Object
the bean of this SetProperty
bean
,
String
the name of this SetProperty
name
)

The constructor of SimpleListProperty

public
SimpleListProperty(Object
the bean of this ListProperty
bean
,
String
the name of this ListProperty
name
,
ObservableList<E>
the initial value of the wrapped value
initialValue
)

The constructor of SimpleListProperty

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.ListPropertyBase:
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

SimpleListPropertyback to summary
public SimpleListProperty()

The constructor of SimpleListProperty

SimpleListPropertyback to summary
public SimpleListProperty(ObservableList<E> initialValue)

The constructor of SimpleListProperty

Parameters
initialValue:ObservableList<E>

the initial value of the wrapped value

SimpleListPropertyback to summary
public SimpleListProperty(Object bean, String name)

The constructor of SimpleListProperty

Parameters
bean:Object

the bean of this SetProperty

name:String

the name of this SetProperty

SimpleListPropertyback to summary
public SimpleListProperty(Object bean, String name, ObservableList<E> initialValue)

The constructor of SimpleListProperty

Parameters
bean:Object

the bean of this ListProperty

name:String

the name of this ListProperty

initialValue:ObservableList<E>

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