Class MapExpressionHelperEx<K,V> 
java.lang.Object
org.eclipse.gef.common.collections.MapListenerHelperEx<K,V>
 
org.eclipse.gef.common.beans.binding.MapExpressionHelperEx<K,V> 
- Type Parameters:
- K- The key type of the- MapExpression.
- V- The value type of the- MapExpression.
A utility class to support notifications for an 
MapExpression.- 
Nested Class SummaryNested classes/interfaces inherited from class org.eclipse.gef.common.collections.MapListenerHelperExMapListenerHelperEx.AtomicChange<K,V> 
- 
Constructor SummaryConstructorsConstructorDescriptionMapExpressionHelperEx(javafx.beans.value.ObservableMapValue<K, V> observableValue) Constructs a newMapExpressionHelperExfor the given sourceObservableMapValue.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableMap<K, V>> listener) Adds a newChangeListenerto thisMapExpressionHelperEx.voidFires notifications to all attachedInvalidationListeners,ChangeListeners, andMapChangeListeners.voidfireValueChangedEvent(javafx.collections.MapChangeListener.Change<? extends K, ? extends V> change) Fires notifications to all attachedInvalidationListeners, andMapChangeListeners.voidremoveListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableMap<K, V>> listener) Removes the givenChangeListenerfrom thisMapChangeListener.Methods inherited from class org.eclipse.gef.common.collections.MapListenerHelperExaddListener, addListener, getSource, notifyInvalidationListeners, notifyMapChangeListeners, removeListener, removeListener
- 
Constructor Details- 
MapExpressionHelperExConstructs a newMapExpressionHelperExfor the given sourceObservableMapValue.- Parameters:
- observableValue- The observableValue- ObservableMap, which is used in change notifications.
 
 
- 
- 
Method Details- 
addListenerpublic void addListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableMap<K, V>> listener) Adds a newChangeListenerto thisMapExpressionHelperEx. 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- ChangeListenerto add.
 
- 
fireValueChangedEventpublic void fireValueChangedEvent()Fires notifications to all attachedInvalidationListeners,ChangeListeners, andMapChangeListeners.
- 
fireValueChangedEventpublic void fireValueChangedEvent(javafx.collections.MapChangeListener.Change<? extends K, ? extends V> change) Fires notifications to all attachedInvalidationListeners, andMapChangeListeners.- Overrides:
- fireValueChangedEventin class- MapListenerHelperEx<K,- V> 
- Parameters:
- change- The change that needs to be propagated.
 
- 
removeListenerpublic void removeListener(javafx.beans.value.ChangeListener<? super javafx.collections.ObservableMap<K, V>> listener) Removes the givenChangeListenerfrom thisMapChangeListener. If it was registered more than once, removes only one occurrence.- Parameters:
- listener- The- ChangeListenerto remove.
 
 
-