Package | Description |
---|---|
org.eclipse.gef4.common.beans.binding |
This package augments the JavaFX binding API by adding support related to
SetMultimap and
Multiset . |
org.eclipse.gef4.common.beans.property |
This package augments the property API of JavaFX by adding support related to
SetMultimap and
Multiset . |
org.eclipse.gef4.common.beans.value |
This package augments the value API of JavaFX by contributing support for
SetMultimap and
Multiset . |
org.eclipse.gef4.common.collections |
This package augments the JavaFX collections API with support for
SetMultimap and
Multiset . |
Modifier and Type | Class and Description |
---|---|
class |
MultisetBinding<E>
An abstract base class that provides functionality needed to realize a
Binding on an ObservableMultiset . |
class |
MultisetExpression<E>
A
SetMultimapExpression is a ObservableMultisetValue plus
additional convenience methods to generate bindings. |
Modifier and Type | Method and Description |
---|---|
protected abstract ObservableMultiset<E> |
MultisetBinding.computeValue()
Computes the current value of this
MultisetBinding . |
ObservableMultiset<E> |
MultisetBinding.get() |
ObservableMultiset<E> |
MultisetExpression.getValue() |
Modifier and Type | Method and Description |
---|---|
static <E> void |
BindingUtils.bindContent(com.google.common.collect.Multiset<E> source,
ObservableMultiset<? extends E> target)
Creates a unidirectional content binding from the given source
Multiset to the given target ObservableMultiset . |
static <E> void |
BindingUtils.bindContentBidirectional(ObservableMultiset<E> source,
ObservableMultiset<E> target)
Creates a bidirectional content binding between the given
ObservableMultisets . |
static <E> void |
BindingUtils.bindContentBidirectional(ObservableMultiset<E> source,
ObservableMultiset<E> target)
Creates a bidirectional content binding between the given
ObservableMultisets . |
javafx.beans.binding.BooleanBinding |
MultisetExpression.isEqualTo(ObservableMultiset<?> other)
Creates a new
BooleanBinding that indicates whether this
ObservableMultiset is equal to the passed in
ObservableMultiset . |
javafx.beans.binding.BooleanBinding |
MultisetExpression.isNotEqualTo(ObservableMultiset<?> other)
Creates a new
BooleanBinding that indicates whether this
ObservableMultiset is not equal to the passed in
ObservableMultiset . |
static <E> void |
BindingUtils.unbindContent(com.google.common.collect.Multiset<E> source,
ObservableMultiset<? extends E> target)
Removes an existing content binding from the given source
Multiset to the given target ObservableMultiset . |
static <E> void |
BindingUtils.unbindContentBidirectional(ObservableMultiset<E> multiset1,
ObservableMultiset<E> multiset2)
Removes a bidirectional content binding between the given
ObservableMultisets . . |
static <E> void |
BindingUtils.unbindContentBidirectional(ObservableMultiset<E> multiset1,
ObservableMultiset<E> multiset2)
Removes a bidirectional content binding between the given
ObservableMultisets . . |
Modifier and Type | Method and Description |
---|---|
void |
MultisetExpressionHelper.addListener(javafx.beans.value.ChangeListener<? super ObservableMultiset<E>> listener)
Adds a new
ChangeListener to this
MultisetExpressionHelper . |
void |
MultisetBinding.addListener(javafx.beans.value.ChangeListener<? super ObservableMultiset<E>> listener) |
void |
MultisetExpressionHelper.removeListener(javafx.beans.value.ChangeListener<? super ObservableMultiset<E>> listener)
Removes the given
ChangeListener from this
MultisetChangeListener . |
void |
MultisetBinding.removeListener(javafx.beans.value.ChangeListener<? super ObservableMultiset<E>> listener) |
Modifier and Type | Class and Description |
---|---|
class |
MultisetProperty<E>
Abstract base class defining contract for a
Property wrapping a
ObservableMultiset . |
class |
MultisetPropertyBase<E>
Abstract base class for implementing a
Property wrapping an
ObservableMultiset . |
class |
ReadOnlyMultisetProperty<E>
Abstract base class defining contract for a read-only
Property
wrapping an ObservableMultiset . |
class |
ReadOnlyMultisetPropertyBase<E>
Abstract base class for implementing a read-only
Property wrapping an
ObservableMultiset . |
class |
ReadOnlyMultisetWrapper<E>
A
ReadOnlyMultisetWrapper is a writable Property wrapping an
ObservableMultiset , which provides an additional read-only
Property (based on a concrete, non-exposed implementation of
ReadOnlyMultisetProperty ), whose value is synchronized with the value
of this ReadOnlyMapWrapper . |
class |
SimpleMultisetProperty<E>
A concrete implementation of a
Property wrapping an
ObservableMultiset . |
Modifier and Type | Method and Description |
---|---|
ObservableMultiset<E> |
MultisetPropertyBase.get() |
Modifier and Type | Method and Description |
---|---|
void |
ReadOnlyMultisetProperty.bindContent(ObservableMultiset<E> target)
Creates a unidirectional content binding between the
ObservableMultiset , that is wrapped in this
ReadOnlyMultisetProperty , and the given
ObservableMultiset . |
void |
ReadOnlyMultisetProperty.bindContentBidirectional(ObservableMultiset<E> other)
Creates a bidirectional content binding of the
ObservableMultiset
, that is wrapped in this ReadOnlyMultisetProperty , and the given
ObservableMultiset . |
void |
MultisetPropertyBase.set(ObservableMultiset<E> newValue) |
void |
MultisetProperty.setValue(ObservableMultiset<E> v) |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
MultisetPropertyBase(ObservableMultiset<E> initialValue)
Creates a new
MultisetPropertyBase with the given
ObservableMultiset as initial value. |
ReadOnlyMultisetWrapper(java.lang.Object bean,
java.lang.String name,
ObservableMultiset<E> initialValue)
Constructs a new
ReadOnlyMultisetWrapper for the given bean and
with the given name and initial value. |
ReadOnlyMultisetWrapper(ObservableMultiset<E> initialValue)
Constructs a new unnamed
ReadOnlyMultisetWrapper with the given
initial value. |
SimpleMultisetProperty(java.lang.Object bean,
java.lang.String name,
ObservableMultiset<E> initialValue)
Constructs a new
SimpleMultisetProperty for the given bean and
with the given name and initial value. |
SimpleMultisetProperty(ObservableMultiset<E> initialValue)
Constructs a new unnamed
SimpleMultisetProperty that is not
related to a bean, with the given initial value. |
Modifier and Type | Interface and Description |
---|---|
interface |
ObservableMultisetValue<E>
An observable reference to an
ObservableMultiset . |
interface |
WritableMultisetValue<E>
A writable reference to an
ObservableMultiset . |
Modifier and Type | Method and Description |
---|---|
static <E> ObservableMultiset<E> |
CollectionUtils.emptyMultiset()
Returns an empty, unmodifiable
ObservableMultiset . |
ObservableMultiset<E> |
MultisetChangeListener.Change.getMultiset()
The source
ObservableMultiset this atomic change is
associated with. |
protected ObservableMultiset<E> |
MultisetListenerHelper.getSource()
Returns the source
ObservableMultiset this
MultisetListenerHelper is bound to, which is used in change
notifications. |
static <E> ObservableMultiset<E> |
CollectionUtils.observableHashMultiset()
Returns a (modifiable) new
ObservableMultiset wrapping a
HashMultiset . |
static <E> ObservableMultiset<E> |
CollectionUtils.observableMultiset(com.google.common.collect.Multiset<E> multiset)
Returns a (modifiable) new
ObservableMultiset wrapping the given
List . |
static <E> ObservableMultiset<E> |
CollectionUtils.unmodifiableObservableMultiset(ObservableMultiset<E> multiset)
Returns an unmodifiable
ObservableMultiset wrapping the given
ObservableMultiset . |
Modifier and Type | Method and Description |
---|---|
static <E> ObservableMultiset<E> |
CollectionUtils.unmodifiableObservableMultiset(ObservableMultiset<E> multiset)
Returns an unmodifiable
ObservableMultiset wrapping the given
ObservableMultiset . |
Constructor and Description |
---|
AtomicChange(ObservableMultiset<E> source,
com.google.common.collect.Multiset<E> previousContents,
java.util.List<MultisetListenerHelper.ElementarySubChange<E>> elementarySubChanges)
Creates a new
MultisetListenerHelper.AtomicChange that
represents a change comprising multiple elementary sub-changesO. |
AtomicChange(ObservableMultiset<E> source,
com.google.common.collect.Multiset<E> previousContents,
MultisetListenerHelper.ElementarySubChange<E> elementarySubChange)
Creates a new
MultisetListenerHelper.AtomicChange that
represents a change comprising a single elementary sub-change. |
AtomicChange(ObservableMultiset<E> source,
MultisetChangeListener.Change<? extends E> change)
Creates a new
MultisetListenerHelper.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 source
ObservableMultiset . |
MultisetListenerHelper(ObservableMultiset<E> source)
Constructs a new
MultisetListenerHelper for the given source
ObservableMultiset . |
Copyright (c) 2014 itemis AG and others. All rights reserved.