java.lang.Object
javafx.beans.binding.SetExpression<E>
javafx.beans.property.ReadOnlySetProperty<E>
javafx.beans.property.SetProperty<E>
- Type Parameters:
- E- the type of the- Setelements
- 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(),
 ObservableValue.getValue(), WritableObjectValue.set(Object), and WritableValue.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 Property.bindBidirectional(Property) and
 Property.unbindBidirectional(Property).
 The context of a SetProperty can be read with ReadOnlyProperty.getBean()
 and ReadOnlyProperty.getName().- Since:
- JavaFX 2.1
- See Also:
- ObservableSet,- ObservableSetValue,- WritableSetValue,- ReadOnlySetProperty,- Property
- 
Property SummaryProperties declared in class javafx.beans.binding.SetExpressionempty, size
- 
Constructor SummaryConstructors Constructor Description SetProperty()Creates a defaultSetProperty.
- 
Method SummaryMethods declared in class javafx.beans.property.ReadOnlySetPropertybindContent, bindContentBidirectional, hashCode, unbindContent, unbindContentBidirectionalMethods declared in class javafx.beans.binding.SetExpressionasString, emptyProperty, getSize, isEqualTo, isNotEqualTo, isNotNull, isNull, setExpression, sizePropertyMethods declared in class java.lang.Objectclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods declared in interface java.util.CollectionparallelStream, removeIf, stream, toArrayMethods declared in interface javafx.beans.ObservableaddListener, removeListenerMethods declared in interface javafx.beans.value.ObservableObjectValuegetMethods declared in interface javafx.collections.ObservableSetaddListener, removeListenerMethods declared in interface javafx.beans.value.ObservableValueaddListener, getValue, removeListenerMethods declared in interface javafx.beans.property.Propertybind, bindBidirectional, isBound, unbind, unbindBidirectionalMethods declared in interface javafx.beans.property.ReadOnlyPropertygetBean, getNameMethods declared in interface java.util.Setadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArrayMethods declared in interface javafx.beans.value.WritableObjectValueget, setMethods declared in interface javafx.beans.value.WritableValuegetValue, setValue
- 
Constructor Details- 
SetPropertypublic SetProperty()Creates a defaultSetProperty.
 
- 
- 
Method Details- 
toStringReturns a string representation of thisSetPropertyobject.- Overrides:
- toStringin class- ReadOnlySetProperty<E>
- Returns:
- a string representation of this SetPropertyobject.
 
 
-