Class SetMultimapExpressionHelper<K,V> 
java.lang.Object
org.eclipse.gef.common.collections.SetMultimapListenerHelper<K,V>
 
org.eclipse.gef.common.beans.binding.SetMultimapExpressionHelper<K,V> 
- Type Parameters:
- K- The key type of the- ObservableSetMultimap.
- V- The value type of the- ObservableSetMultimap.
A utility class to support change notifications for an
 
ObservableSetMultimap.- 
Nested Class SummaryNested classes/interfaces inherited from class org.eclipse.gef.common.collections.SetMultimapListenerHelperSetMultimapListenerHelper.AtomicChange<K,V>, SetMultimapListenerHelper.ElementarySubChange<K, V> 
- 
Constructor SummaryConstructorsConstructorDescriptionSetMultimapExpressionHelper(ObservableSetMultimapValue<K, V> observableValue) Constructs a newSetMultimapExpressionHelperfor the given sourceObservableSetMultimapValue.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddListener(javafx.beans.value.ChangeListener<? super ObservableSetMultimap<K, V>> listener) Adds a newChangeListenerto thisSetMultimapExpressionHelper.voidFires notifications to all attachedInvalidationListeners,ChangeListeners, andSetMultimapChangeListeners.voidfireValueChangedEvent(SetMultimapChangeListener.Change<? extends K, ? extends V> change) Fires notifications to all attachedInvalidationListenersandSetMultimapChangeListeners.voidremoveListener(javafx.beans.value.ChangeListener<? super ObservableSetMultimap<K, V>> listener) Removes the givenChangeListenerfrom thisSetMultimapChangeListener.Methods inherited from class org.eclipse.gef.common.collections.SetMultimapListenerHelperaddListener, addListener, getSource, notifyInvalidationListeners, notifySetMultimapChangeListeners, removeListener, removeListener
- 
Constructor Details- 
SetMultimapExpressionHelperConstructs a newSetMultimapExpressionHelperfor the given sourceObservableSetMultimapValue.- Parameters:
- observableValue- The observableValue- ObservableSetMultimap, which is used in change notifications.
 
 
- 
- 
Method Details- 
addListenerpublic void addListener(javafx.beans.value.ChangeListener<? super ObservableSetMultimap<K, V>> listener) Adds a newChangeListenerto thisSetMultimapExpressionHelper. 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, andSetMultimapChangeListeners.
- 
fireValueChangedEventFires notifications to all attachedInvalidationListenersandSetMultimapChangeListeners.- Overrides:
- fireValueChangedEventin class- SetMultimapListenerHelper<K,- V> 
- Parameters:
- change- The change that needs to be propagated.
 
- 
removeListenerpublic void removeListener(javafx.beans.value.ChangeListener<? super ObservableSetMultimap<K, V>> listener) Removes the givenChangeListenerfrom thisSetMultimapChangeListener. If it was registered more than once, removes only one occurrence.- Parameters:
- listener- The- ChangeListenerto remove.
 
 
-