Uses of Interface
org.eclipse.gef.common.collections.ObservableMultiset
Package
Description
This package augments the JavaFX binding API by adding support related to
SetMultimap
and
Multiset
.This package augments the property API of JavaFX by adding support related to
SetMultimap
and
Multiset
.This package augments the value API of JavaFX by contributing support for
SetMultimap
and
Multiset
.This package augments the JavaFX collections API with support for
SetMultimap
and
Multiset
.-
Uses of ObservableMultiset in org.eclipse.gef.common.beans.binding
Modifier and TypeClassDescriptionclass
An abstract base class that provides functionality needed to realize aBinding
on anObservableMultiset
.class
ASetMultimapExpression
is aObservableMultisetValue
plus additional convenience methods to generate bindings.Modifier and TypeMethodDescriptionprotected abstract ObservableMultiset<E>
MultisetBinding.computeValue()
Computes the current value of thisMultisetBinding
.MultisetBinding.get()
MultisetExpression.getValue()
Modifier and TypeMethodDescriptionstatic <E> void
BindingUtils.bindContent
(Multiset<E> source, ObservableMultiset<? extends E> target) Creates a unidirectional content binding from the given sourceMultiset
to the given targetObservableMultiset
.static <E> void
BindingUtils.bindContentBidirectional
(ObservableMultiset<E> source, ObservableMultiset<E> target) Creates a bidirectional content binding between the givenObservableMultisets
.MultisetExpression.isEqualTo
(ObservableMultiset<?> other) Creates a newBooleanBinding
that indicates whether thisObservableMultiset
is equal to the passed inObservableMultiset
.MultisetExpression.isNotEqualTo
(ObservableMultiset<?> other) Creates a newBooleanBinding
that indicates whether thisObservableMultiset
is not equal to the passed inObservableMultiset
.static <E> void
BindingUtils.unbindContent
(Multiset<E> source, ObservableMultiset<? extends E> target) Removes an existing content binding from the given sourceMultiset
to the given targetObservableMultiset
.static <E> void
BindingUtils.unbindContentBidirectional
(ObservableMultiset<E> multiset1, ObservableMultiset<E> multiset2) Removes a bidirectional content binding between the givenObservableMultisets
. .Modifier and TypeMethodDescriptionvoid
MultisetBinding.addListener
(ChangeListener<? super ObservableMultiset<E>> listener) void
MultisetExpressionHelper.addListener
(ChangeListener<? super ObservableMultiset<E>> listener) Adds a newChangeListener
to thisMultisetExpressionHelper
.void
MultisetBinding.removeListener
(ChangeListener<? super ObservableMultiset<E>> listener) void
MultisetExpressionHelper.removeListener
(ChangeListener<? super ObservableMultiset<E>> listener) Removes the givenChangeListener
from thisMultisetChangeListener
. -
Uses of ObservableMultiset in org.eclipse.gef.common.beans.property
Modifier and TypeClassDescriptionclass
Abstract base class defining contract for aProperty
wrapping aObservableMultiset
.class
Abstract base class for implementing aProperty
wrapping anObservableMultiset
.class
Abstract base class defining contract for a read-onlyProperty
wrapping anObservableMultiset
.class
Abstract base class for implementing a read-onlyProperty
wrapping anObservableMultiset
.class
AReadOnlyMultisetWrapper
is a writableProperty
wrapping anObservableMultiset
, which provides an additional read-onlyProperty
(based on a concrete, non-exposed implementation ofReadOnlyMultisetProperty
), whose value is synchronized with the value of thisReadOnlyMapWrapper
.class
A concrete implementation of aProperty
wrapping anObservableMultiset
.Modifier and TypeMethodDescriptionvoid
ReadOnlyMultisetProperty.bindContent
(ObservableMultiset<E> target) Creates a unidirectional content binding between theObservableMultiset
, that is wrapped in thisReadOnlyMultisetProperty
, and the givenObservableMultiset
.void
ReadOnlyMultisetProperty.bindContentBidirectional
(ObservableMultiset<E> other) Creates a bidirectional content binding of theObservableMultiset
, that is wrapped in thisReadOnlyMultisetProperty
, and the givenObservableMultiset
.void
MultisetPropertyBase.set
(ObservableMultiset<E> newValue) void
MultisetProperty.setValue
(ObservableMultiset<E> v) Modifier and TypeMethodDescriptionvoid
MultisetPropertyBase.addListener
(ChangeListener<? super ObservableMultiset<E>> listener) void
ReadOnlyMultisetPropertyBase.addListener
(ChangeListener<? super ObservableMultiset<E>> listener) void
MultisetPropertyBase.bind
(ObservableValue<? extends ObservableMultiset<E>> observedValue) void
MultisetProperty.bindBidirectional
(Property<ObservableMultiset<E>> other) void
MultisetPropertyBase.removeListener
(ChangeListener<? super ObservableMultiset<E>> listener) void
ReadOnlyMultisetPropertyBase.removeListener
(ChangeListener<? super ObservableMultiset<E>> listener) void
MultisetProperty.unbindBidirectional
(Property<ObservableMultiset<E>> other) ModifierConstructorDescriptionMultisetPropertyBase
(ObservableMultiset<E> initialValue) Creates a newMultisetPropertyBase
with the givenObservableMultiset
as initial value.ReadOnlyMultisetWrapper
(Object bean, String name, ObservableMultiset<E> initialValue) Constructs a newReadOnlyMultisetWrapper
for the given bean and with the given name and initial value.ReadOnlyMultisetWrapper
(ObservableMultiset<E> initialValue) Constructs a new unnamedReadOnlyMultisetWrapper
with the given initial value.SimpleMultisetProperty
(Object bean, String name, ObservableMultiset<E> initialValue) Constructs a newSimpleMultisetProperty
for the given bean and with the given name and initial value.SimpleMultisetProperty
(ObservableMultiset<E> initialValue) Constructs a new unnamedSimpleMultisetProperty
that is not related to a bean, with the given initial value. -
Uses of ObservableMultiset in org.eclipse.gef.common.beans.value
Modifier and TypeInterfaceDescriptioninterface
An observable reference to anObservableMultiset
.interface
A writable reference to anObservableMultiset
. -
Uses of ObservableMultiset in org.eclipse.gef.common.collections
Modifier and TypeMethodDescriptionstatic <E> ObservableMultiset<E>
CollectionUtils.emptyMultiset()
Returns an empty, unmodifiableObservableMultiset
.MultisetChangeListener.Change.getMultiset()
The sourceObservableMultiset
this atomic change is associated with.protected ObservableMultiset<E>
MultisetListenerHelper.getSource()
Returns the sourceObservableMultiset
thisMultisetListenerHelper
is bound to, which is used in change notifications.static <E> ObservableMultiset<E>
CollectionUtils.observableHashMultiset()
Returns a (modifiable) newObservableMultiset
wrapping aHashMultiset
.static <E> ObservableMultiset<E>
CollectionUtils.observableMultiset
(Multiset<E> multiset) Returns a (modifiable) newObservableMultiset
wrapping the givenList
.static <E> ObservableMultiset<E>
CollectionUtils.unmodifiableObservableMultiset
(ObservableMultiset<E> multiset) Returns an unmodifiableObservableMultiset
wrapping the givenObservableMultiset
.Modifier and TypeMethodDescriptionstatic <E> ObservableMultiset<E>
CollectionUtils.unmodifiableObservableMultiset
(ObservableMultiset<E> multiset) Returns an unmodifiableObservableMultiset
wrapping the givenObservableMultiset
.ModifierConstructorDescriptionAtomicChange
(ObservableMultiset<E> source, Multiset<E> previousContents, List<MultisetListenerHelper.ElementarySubChange<E>> elementarySubChanges) Creates a newMultisetListenerHelper.AtomicChange
that represents a change comprising multiple elementary sub-changesO.AtomicChange
(ObservableMultiset<E> source, Multiset<E> previousContents, MultisetListenerHelper.ElementarySubChange<E> elementarySubChange) Creates a newMultisetListenerHelper.AtomicChange
that represents a change comprising a single elementary sub-change.AtomicChange
(ObservableMultiset<E> source, MultisetChangeListener.Change<? extends E> change) Creates a newMultisetListenerHelper.AtomicChange
for the passed in source, based on the data provided in the passed-in change.Change
(ObservableMultiset<E> source) Creates a new (atomic) change associated with the given sourceObservableMultiset
.MultisetListenerHelper
(ObservableMultiset<E> source) Constructs a newMultisetListenerHelper
for the given sourceObservableMultiset
.