Class SetExpressionHelperEx<E>
java.lang.Object
org.eclipse.gef.common.collections.SetListenerHelperEx<E>
org.eclipse.gef.common.beans.binding.SetExpressionHelperEx<E>
- Type Parameters:
- E- The element type of the- SetExpression.
A utility class to support notifications for an 
SetExpression.- 
Nested Class SummaryNested classes/interfaces inherited from class org.eclipse.gef.common.collections.SetListenerHelperExSetListenerHelperEx.AtomicChange<E>
- 
Constructor SummaryConstructorsConstructorDescriptionSetExpressionHelperEx(javafx.beans.value.ObservableSetValue<E> observableValue) Constructs a newSetExpressionHelperExfor the given sourceObservableSetValue.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableSet<E>> listener) Adds a newChangeListenerto thisSetExpressionHelperEx.voidFires notifications to all attachedInvalidationListeners,ChangeListeners, andSetChangeListeners.voidfireValueChangedEvent(javafx.collections.SetChangeListener.Change<? extends E> change) Fires notifications to all attachedInvalidationListeners, andSetChangeListeners.voidremoveListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableSet<E>> listener) Removes the givenChangeListenerfrom thisSetChangeListener.Methods inherited from class org.eclipse.gef.common.collections.SetListenerHelperExaddListener, addListener, getSource, notifyInvalidationListeners, notifySetChangeListeners, removeListener, removeListener
- 
Constructor Details- 
SetExpressionHelperExConstructs a newSetExpressionHelperExfor the given sourceObservableSetValue.- Parameters:
- observableValue- The observableValue- ObservableSet, which is used in change notifications.
 
 
- 
- 
Method Details- 
addListenerpublic void addListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableSet<E>> listener) Adds a newChangeListenerto thisSetExpressionHelperEx. If the same listener is added more than once, it will be registered more than once and will receive multiple change events.- Parameters:
- listener- The listener to add.
 
- 
fireValueChangedEventpublic void fireValueChangedEvent()Fires notifications to all attachedInvalidationListeners,ChangeListeners, andSetChangeListeners.
- 
fireValueChangedEventFires notifications to all attachedInvalidationListeners, andSetChangeListeners.- Overrides:
- fireValueChangedEventin class- SetListenerHelperEx<E>
- Parameters:
- change- The change that needs to be propagated.
 
- 
removeListenerpublic void removeListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableSet<E>> listener) Removes the givenChangeListenerfrom thisSetChangeListener. If it was registered more than once, removes only one occurrence.- Parameters:
- listener- The- ChangeListenerto remove.
 
 
-