java.lang.Object
javafx.beans.binding.SetExpression<E>
javafx.beans.property.ReadOnlySetProperty<E>
javafx.beans.property.ReadOnlySetPropertyBase<E>
- Type Parameters:
- E- the type of the- Setelements
- All Implemented Interfaces:
- Iterable<E>,- Collection<E>,- Set<E>,- Observable,- ReadOnlyProperty<ObservableSet<E>>,- ObservableObjectValue<ObservableSet<E>>,- ObservableSetValue<E>,- ObservableValue<ObservableSet<E>>,- ObservableSet<E>
public abstract class ReadOnlySetPropertyBase<E> extends ReadOnlySetProperty<E>
Base class for all readonly properties wrapping an 
ObservableSet.
 This class provides a default implementation to attach listener.- Since:
- JavaFX 2.1
- See Also:
- ReadOnlySetProperty
- 
Property SummaryProperties declared in class javafx.beans.binding.SetExpressionempty, size
- 
Constructor SummaryConstructors Constructor Description ReadOnlySetPropertyBase()Creates a defaultReadOnlySetPropertyBase.
- 
Method SummaryModifier and Type Method Description protected voidfireValueChangedEvent()This method needs to be called if the reference to theObservableSetchanges.protected voidfireValueChangedEvent(SetChangeListener.Change<? extends E> change)This method needs to be called if the content of the referencedObservableSetchanges.Methods declared in class javafx.beans.property.ReadOnlySetPropertybindContent, bindContentBidirectional, hashCode, toString, 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.ReadOnlyPropertygetBean, getName
- 
Constructor Details- 
ReadOnlySetPropertyBasepublic ReadOnlySetPropertyBase()Creates a defaultReadOnlySetPropertyBase.
 
- 
- 
Method Details- 
fireValueChangedEventprotected void fireValueChangedEvent()This method needs to be called if the reference to theObservableSetchanges. It sends notifications to all attachedInvalidationListeners,ChangeListeners, andSetChangeListener. This method needs to be called, if the value of this property changes.
- 
fireValueChangedEventThis method needs to be called if the content of the referencedObservableSetchanges. Sends notifications to all attachedInvalidationListeners,ChangeListeners, andSetChangeListener. This method is called when the content of the list changes.- Parameters:
- change- the change that needs to be propagated
 
 
-