Module javafx.base

Class SetProperty<E>

java.lang.Object
Type Parameters:
E - the type of the Set elements
All Implemented Interfaces:
Iterable<E>, Collection<E>, Set<E>, Observable, Property<ObservableSet<E>>, ReadOnlyProperty<ObservableSet<E>>, ObservableObjectValue<ObservableSet<E>>, ObservableSetValue<E>, ObservableValue<ObservableSet<E>>, WritableObjectValue<ObservableSet<E>>, WritableSetValue<E>, WritableValue<ObservableSet<E>>, ObservableSet<E>
Direct Known Subclasses:
SetPropertyBase

public abstract class SetProperty<E> extends ReadOnlySetProperty<E> implements Property<ObservableSet<E>>, WritableSetValue<E>
This class provides a full implementation of a Property wrapping an ObservableSet. The value of a SetProperty can be get and set with ObservableObjectValue.get(), SetExpression.getValue(), WritableObjectValue.set(Object), and setValue(ObservableSet). A property can be bound and unbound unidirectional with Property.bind(javafx.beans.value.ObservableValue) and Property.unbind(). Bidirectional bindings can be created and removed with bindBidirectional(Property) and unbindBidirectional(Property). The context of a SetProperty can be read with ReadOnlyProperty.getBean() and ReadOnlyProperty.getName().
Since:
JavaFX 2.1
See Also: