Top Description Fields Constructors Methods
javafx.beans.property

public Class SimpleSetProperty<E>

extends SetPropertyBase<E>
Class Inheritance
Known Direct Subclasses
javafx.beans.property.ReadOnlySetWrapper
Type Parameters
<E>
the type of the Set elements
Imports
javafx.collections.ObservableSet

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

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

The constructor of SimpleSetProperty

public
SimpleSetProperty(ObservableSet<E>
the initial value of the wrapped value
initialValue
)

The constructor of SimpleSetProperty

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

The constructor of SimpleSetProperty

public
SimpleSetProperty(Object
the bean of this SetProperty
bean
,
String
the name of this SetProperty
name
,
ObservableSet<E>
the initial value of the wrapped value
initialValue
)

The constructor of SimpleSetProperty

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

SimpleSetPropertyback to summary
public SimpleSetProperty()

The constructor of SimpleSetProperty

SimpleSetPropertyback to summary
public SimpleSetProperty(ObservableSet<E> initialValue)

The constructor of SimpleSetProperty

Parameters
initialValue:ObservableSet<E>

the initial value of the wrapped value

SimpleSetPropertyback to summary
public SimpleSetProperty(Object bean, String name)

The constructor of SimpleSetProperty

Parameters
bean:Object

the bean of this SetProperty

name:String

the name of this SetProperty

SimpleSetPropertyback to summary
public SimpleSetProperty(Object bean, String name, ObservableSet<E> initialValue)

The constructor of SimpleSetProperty

Parameters
bean:Object

the bean of this SetProperty

name:String

the name of this SetProperty

initialValue:ObservableSet<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