Uses of Interface
org.eclipse.gef.common.collections.ObservableMultiset
-
Packages that use ObservableMultiset Package Description org.eclipse.gef.common.beans.binding This package augments the JavaFX binding API by adding support related toSetMultimap
andMultiset
.org.eclipse.gef.common.beans.property This package augments the property API of JavaFX by adding support related toSetMultimap
andMultiset
.org.eclipse.gef.common.beans.value This package augments the value API of JavaFX by contributing support forSetMultimap
andMultiset
.org.eclipse.gef.common.collections This package augments the JavaFX collections API with support forSetMultimap
andMultiset
. -
-
Uses of ObservableMultiset in org.eclipse.gef.common.beans.binding
Classes in org.eclipse.gef.common.beans.binding that implement ObservableMultiset Modifier and Type Class Description class
MultisetBinding<E>
An abstract base class that provides functionality needed to realize aBinding
on anObservableMultiset
.class
MultisetExpression<E>
ASetMultimapExpression
is aObservableMultisetValue
plus additional convenience methods to generate bindings.Methods in org.eclipse.gef.common.beans.binding that return ObservableMultiset Modifier and Type Method Description protected abstract ObservableMultiset<E>
MultisetBinding. computeValue()
Computes the current value of thisMultisetBinding
.ObservableMultiset<E>
MultisetBinding. get()
ObservableMultiset<E>
MultisetExpression. getValue()
Methods in org.eclipse.gef.common.beans.binding with parameters of type ObservableMultiset Modifier and Type Method Description static <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
.javafx.beans.binding.BooleanBinding
MultisetExpression. isEqualTo(ObservableMultiset<?> other)
Creates a newBooleanBinding
that indicates whether thisObservableMultiset
is equal to the passed inObservableMultiset
.javafx.beans.binding.BooleanBinding
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
. .Method parameters in org.eclipse.gef.common.beans.binding with type arguments of type ObservableMultiset Modifier and Type Method Description void
MultisetBinding. addListener(javafx.beans.value.ChangeListener<? super ObservableMultiset<E>> listener)
void
MultisetExpressionHelper. addListener(javafx.beans.value.ChangeListener<? super ObservableMultiset<E>> listener)
Adds a newChangeListener
to thisMultisetExpressionHelper
.void
MultisetBinding. removeListener(javafx.beans.value.ChangeListener<? super ObservableMultiset<E>> listener)
void
MultisetExpressionHelper. removeListener(javafx.beans.value.ChangeListener<? super ObservableMultiset<E>> listener)
Removes the givenChangeListener
from thisMultisetChangeListener
. -
Uses of ObservableMultiset in org.eclipse.gef.common.beans.property
Classes in org.eclipse.gef.common.beans.property that implement ObservableMultiset Modifier and Type Class Description class
MultisetProperty<E>
Abstract base class defining contract for aProperty
wrapping aObservableMultiset
.class
MultisetPropertyBase<E>
Abstract base class for implementing aProperty
wrapping anObservableMultiset
.class
ReadOnlyMultisetProperty<E>
Abstract base class defining contract for a read-onlyProperty
wrapping anObservableMultiset
.class
ReadOnlyMultisetPropertyBase<E>
Abstract base class for implementing a read-onlyProperty
wrapping anObservableMultiset
.class
ReadOnlyMultisetWrapper<E>
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
SimpleMultisetProperty<E>
A concrete implementation of aProperty
wrapping anObservableMultiset
.Methods in org.eclipse.gef.common.beans.property that return ObservableMultiset Modifier and Type Method Description ObservableMultiset<E>
MultisetPropertyBase. get()
Methods in org.eclipse.gef.common.beans.property with parameters of type ObservableMultiset Modifier and Type Method Description void
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)
Method parameters in org.eclipse.gef.common.beans.property with type arguments of type ObservableMultiset Modifier and Type Method Description void
MultisetPropertyBase. addListener(javafx.beans.value.ChangeListener<? super ObservableMultiset<E>> listener)
void
ReadOnlyMultisetPropertyBase. addListener(javafx.beans.value.ChangeListener<? super ObservableMultiset<E>> listener)
void
MultisetPropertyBase. bind(javafx.beans.value.ObservableValue<? extends ObservableMultiset<E>> observedValue)
void
MultisetProperty. bindBidirectional(javafx.beans.property.Property<ObservableMultiset<E>> other)
void
MultisetPropertyBase. removeListener(javafx.beans.value.ChangeListener<? super ObservableMultiset<E>> listener)
void
ReadOnlyMultisetPropertyBase. removeListener(javafx.beans.value.ChangeListener<? super ObservableMultiset<E>> listener)
void
MultisetProperty. unbindBidirectional(javafx.beans.property.Property<ObservableMultiset<E>> other)
Constructors in org.eclipse.gef.common.beans.property with parameters of type ObservableMultiset Constructor Description MultisetPropertyBase(ObservableMultiset<E> initialValue)
Creates a newMultisetPropertyBase
with the givenObservableMultiset
as initial value.ReadOnlyMultisetWrapper(java.lang.Object bean, java.lang.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(java.lang.Object bean, java.lang.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
Subinterfaces of ObservableMultiset in org.eclipse.gef.common.beans.value Modifier and Type Interface Description interface
ObservableMultisetValue<E>
An observable reference to anObservableMultiset
.interface
WritableMultisetValue<E>
A writable reference to anObservableMultiset
. -
Uses of ObservableMultiset in org.eclipse.gef.common.collections
Methods in org.eclipse.gef.common.collections that return ObservableMultiset Modifier and Type Method Description static <E> ObservableMultiset<E>
CollectionUtils. emptyMultiset()
Returns an empty, unmodifiableObservableMultiset
.ObservableMultiset<E>
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
.Methods in org.eclipse.gef.common.collections with parameters of type ObservableMultiset Modifier and Type Method Description static <E> ObservableMultiset<E>
CollectionUtils. unmodifiableObservableMultiset(ObservableMultiset<E> multiset)
Returns an unmodifiableObservableMultiset
wrapping the givenObservableMultiset
.Constructors in org.eclipse.gef.common.collections with parameters of type ObservableMultiset Constructor Description AtomicChange(ObservableMultiset<E> source, Multiset<E> previousContents, java.util.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
.
-