K - The key type of the wrapped ObservableSetMultimap.V - The value type of the wrapped ObservableSetMultimap.public class ReadOnlySetMultimapWrapper<K,V> extends SimpleSetMultimapProperty<K,V>
ReadOnlySetMultimapWrapper is a writable Property wrapping
an ObservableSetMultimap, which provides an additional read-only
Property (based on a concrete, non-exposed implementation of
ReadOnlySetMultimapProperty), whose value is synchronized with the
value of this ReadOnlyMapWrapper.
This class provides identical functionality for SetMultimap as
ReadOnlyMapWrapper for Map, ReadOnlySetWrapper for
Set, or ReadOnlyListWrapper for List.
empty, size| Constructor and Description |
|---|
ReadOnlySetMultimapWrapper()
Constructs a new unnamed
ReadOnlySetMultimapWrapper. |
ReadOnlySetMultimapWrapper(java.lang.Object bean,
java.lang.String name)
Constructs a new
ReadOnlySetMultimapWrapper for the given bean
and with the given name. |
ReadOnlySetMultimapWrapper(java.lang.Object bean,
java.lang.String name,
ObservableSetMultimap<K,V> initialValue)
Constructs a new
ReadOnlySetMultimapWrapper for the given bean
and with the given name and initial value. |
ReadOnlySetMultimapWrapper(ObservableSetMultimap<K,V> initialValue)
Constructs a new unnamed
ReadOnlySetMultimapWrapper with the
given initial value. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fireValueChangedEvent()
Fires notifications to all attached
InvalidationListeners,
ChangeListeners, and
SetMultimapChangeListeners. |
protected void |
fireValueChangedEvent(SetMultimapChangeListener.Change<? extends K,? extends V> change)
Fires notifications to all attached
InvalidationListeners,
ChangeListeners, and
SetMultimapChangeListeners. |
ReadOnlySetMultimapProperty<K,V> |
getReadOnlyProperty()
Returns the read-only
Property, whose value is synchronized with
this ReadOnlySetMultimapWrapper. |
getBean, getNameaddListener, addListener, addListener, appendValueToString, bind, emptyProperty, get, invalidated, isBound, removeListener, removeListener, removeListener, set, sizeProperty, unbindbindBidirectional, setValue, unbindBidirectionalbindContent, bindContentBidirectional, equals, hashCode, toString, unbindContent, unbindContentBidirectionalasMap, asString, clear, containsEntry, containsKey, containsValue, entries, get, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, keys, keySet, put, putAll, putAll, remove, removeAll, replaceAll, replaceValues, setMultimapExpression, size, values, valuesAt, valuesAtclone, finalize, getClass, notify, notifyAll, wait, wait, waitreplaceAllasMap, entries, equals, get, removeAll, replaceValuespublic ReadOnlySetMultimapWrapper()
ReadOnlySetMultimapWrapper.public ReadOnlySetMultimapWrapper(java.lang.Object bean,
java.lang.String name)
ReadOnlySetMultimapWrapper for the given bean
and with the given name.bean - The bean the to be created ReadOnlySetMultimapWrapper
is to be related to.name - The name of the to be created
ReadOnlySetMultimapWrapperpublic ReadOnlySetMultimapWrapper(java.lang.Object bean,
java.lang.String name,
ObservableSetMultimap<K,V> initialValue)
ReadOnlySetMultimapWrapper for the given bean
and with the given name and initial value.bean - The bean the to be created ReadOnlySetMultimapWrapper
is to be related to.name - The name of the to be created
ReadOnlySetMultimapWrapperinitialValue - The initial value for the to be created
ReadOnlySetMultimapWrapper.public ReadOnlySetMultimapWrapper(ObservableSetMultimap<K,V> initialValue)
ReadOnlySetMultimapWrapper with the
given initial value.initialValue - The initial value for the to be created
ReadOnlySetMultimapWrapper.protected void fireValueChangedEvent()
SetMultimapPropertyBaseInvalidationListeners,
ChangeListeners, and
SetMultimapChangeListeners.fireValueChangedEvent in class SetMultimapPropertyBase<K,V>protected void fireValueChangedEvent(SetMultimapChangeListener.Change<? extends K,? extends V> change)
SetMultimapPropertyBaseInvalidationListeners,
ChangeListeners, and
SetMultimapChangeListeners.fireValueChangedEvent in class SetMultimapPropertyBase<K,V>change - the change that needs to be propagatedpublic ReadOnlySetMultimapProperty<K,V> getReadOnlyProperty()
Property, whose value is synchronized with
this ReadOnlySetMultimapWrapper.ReadOnlySetMultimapProperty that is synchronized with
this ReadOnlySetMultimapWrapper.Copyright (c) 2014 itemis AG and others. All rights reserved.