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 |
SetMultimapBinding<K,V>
An abstract base class that provides functionality needed to realize a
Binding on an ObservableSetMultimap . |
class |
SetMultimapExpression<K,V>
A
SetMultimapExpression is a ObservableSetMultimapValue plus
additional convenience methods to generate bindings. |
Modifier and Type | Method and Description |
---|---|
protected abstract ObservableSetMultimap<K,V> |
SetMultimapBinding.computeValue()
Computes the current value of this
SetMultimapBinding . |
ObservableSetMultimap<K,V> |
SetMultimapBinding.get() |
ObservableSetMultimap<K,V> |
SetMultimapExpression.getValue() |
Modifier and Type | Method and Description |
---|---|
static <K,V> void |
BindingUtils.bindContent(com.google.common.collect.SetMultimap<K,V> source,
ObservableSetMultimap<? extends K,? extends V> target)
Creates a unidirectional content binding from the given source
SetMultimap to the given target ObservableSetMultimap . |
static <K,V> void |
BindingUtils.bindContentBidirectional(ObservableSetMultimap<K,V> source,
ObservableSetMultimap<K,V> target)
Creates a unidirectional content binding between the given
ObservableSetMultimaps . |
static <K,V> void |
BindingUtils.bindContentBidirectional(ObservableSetMultimap<K,V> source,
ObservableSetMultimap<K,V> target)
Creates a unidirectional content binding between the given
ObservableSetMultimaps . |
javafx.beans.binding.BooleanBinding |
SetMultimapExpression.isEqualTo(ObservableSetMultimap<?,?> other)
Creates a new
BooleanBinding that indicates whether this
ObservableSetMultimap is equal to the passed in
ObservableSetMultimap . |
javafx.beans.binding.BooleanBinding |
SetMultimapExpression.isNotEqualTo(ObservableSetMultimap<?,?> other)
Creates a new
BooleanBinding that indicates whether this
ObservableSetMultimap is not equal to the passed in
ObservableSetMultimap . |
static <K,V> void |
BindingUtils.unbindContent(com.google.common.collect.SetMultimap<K,V> source,
ObservableSetMultimap<? extends K,? extends V> target)
Removes an existing unidirectional content binding from the given source
SetMultimap to the given target ObservableSetMultimap . |
static <K,V> void |
BindingUtils.unbindContentBidirectional(ObservableSetMultimap<K,V> source,
ObservableSetMultimap<K,V> target)
Removes a bidirectional content binding between the given
ObservableSetMultimaps . |
static <K,V> void |
BindingUtils.unbindContentBidirectional(ObservableSetMultimap<K,V> source,
ObservableSetMultimap<K,V> target)
Removes a bidirectional content binding between the given
ObservableSetMultimaps . |
static <K,V> javafx.beans.binding.SetBinding<V> |
BindingUtils.valuesAt(ObservableSetMultimap<K,V> setMultimap,
K key)
Creates a new
ObjectBinding that contains the values mapped to
the specified key. |
static <K,V> javafx.beans.binding.SetBinding<V> |
BindingUtils.valuesAt(ObservableSetMultimap<K,V> setMultimap,
javafx.beans.value.ObservableValue<K> key)
Creates a new
ObjectBinding that contains the values mapped to
the specified key. |
Modifier and Type | Method and Description |
---|---|
void |
SetMultimapBinding.addListener(javafx.beans.value.ChangeListener<? super ObservableSetMultimap<K,V>> listener) |
void |
SetMultimapExpressionHelper.addListener(javafx.beans.value.ChangeListener<? super ObservableSetMultimap<K,V>> listener)
Adds a new
ChangeListener to this
SetMultimapExpressionHelper . |
void |
SetMultimapBinding.removeListener(javafx.beans.value.ChangeListener<? super ObservableSetMultimap<K,V>> listener) |
void |
SetMultimapExpressionHelper.removeListener(javafx.beans.value.ChangeListener<? super ObservableSetMultimap<K,V>> listener)
Removes the given
ChangeListener from this
SetMultimapChangeListener . |
Modifier and Type | Class and Description |
---|---|
class |
ReadOnlySetMultimapProperty<K,V>
Abstract base class defining contract for a read-only
Property
wrapping an ObservableSetMultimap . |
class |
ReadOnlySetMultimapPropertyBase<K,V>
Abstract base class for implementing a read-only
Property wrapping an
ObservableSetMultimap . |
class |
ReadOnlySetMultimapWrapper<K,V>
A
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 . |
class |
SetMultimapProperty<K,V>
Abstract base class defining contract for a
Property wrapping a
ObservableSetMultimap . |
class |
SetMultimapPropertyBase<K,V>
Abstract base class for implementing a
Property wrapping an
ObservableSetMultimap . |
class |
SimpleSetMultimapProperty<K,V>
A concrete implementation of a
Property wrapping an
ObservableSetMultimap . |
Modifier and Type | Method and Description |
---|---|
ObservableSetMultimap<K,V> |
SetMultimapPropertyBase.get() |
Modifier and Type | Method and Description |
---|---|
void |
ReadOnlySetMultimapProperty.bindContent(ObservableSetMultimap<K,V> target)
Creates a unidirectional content binding between the
ObservableSetMultimap , that is wrapped in this
ReadOnlySetMultimapProperty , and the given
ObservableSetMultimap . |
void |
ReadOnlySetMultimapProperty.bindContentBidirectional(ObservableSetMultimap<K,V> other)
Creates a bidirectional content binding of the
ObservableSetMultimap , that is wrapped in this
ReadOnlySetMultimapProperty , and the given
ObservableSetMultimap . |
void |
SetMultimapPropertyBase.set(ObservableSetMultimap<K,V> newValue) |
void |
SetMultimapProperty.setValue(ObservableSetMultimap<K,V> v) |
Modifier and Type | Method and Description |
---|---|
void |
SetMultimapPropertyBase.addListener(javafx.beans.value.ChangeListener<? super ObservableSetMultimap<K,V>> listener) |
void |
ReadOnlySetMultimapPropertyBase.addListener(javafx.beans.value.ChangeListener<? super ObservableSetMultimap<K,V>> listener) |
void |
SetMultimapPropertyBase.bind(javafx.beans.value.ObservableValue<? extends ObservableSetMultimap<K,V>> observedValue) |
void |
SetMultimapProperty.bindBidirectional(javafx.beans.property.Property<ObservableSetMultimap<K,V>> other) |
void |
SetMultimapPropertyBase.removeListener(javafx.beans.value.ChangeListener<? super ObservableSetMultimap<K,V>> listener) |
void |
ReadOnlySetMultimapPropertyBase.removeListener(javafx.beans.value.ChangeListener<? super ObservableSetMultimap<K,V>> listener) |
void |
SetMultimapProperty.unbindBidirectional(javafx.beans.property.Property<ObservableSetMultimap<K,V>> other) |
Constructor and Description |
---|
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. |
SetMultimapPropertyBase(ObservableSetMultimap<K,V> initialValue)
Creates a new
SetMultimapPropertyBase with the given
ObservableSetMultimap as initial value. |
SimpleSetMultimapProperty(java.lang.Object bean,
java.lang.String name,
ObservableSetMultimap<K,V> initialValue)
Constructs a new
SimpleSetMultimapProperty for the given bean and
with the given name and initial value. |
SimpleSetMultimapProperty(ObservableSetMultimap<K,V> initialValue)
Constructs a new unnamed
SimpleSetMultimapProperty that is not
related to a bean, with the given initial value. |
Modifier and Type | Interface and Description |
---|---|
interface |
ObservableSetMultimapValue<K,V>
An observable reference to an
ObservableSetMultimap . |
interface |
WritableSetMultimapValue<K,V>
A writable reference to an
ObservableSetMultimap . |
Modifier and Type | Method and Description |
---|---|
static <K,V> ObservableSetMultimap<K,V> |
CollectionUtils.emptySetMultimap()
Returns an empty, unmodifiable
ObservableSetMultimap . |
ObservableSetMultimap<K,V> |
SetMultimapChangeListener.Change.getSetMultimap()
The source
ObservableSetMultimap this (atomic) change is
associated with. |
protected ObservableSetMultimap<K,V> |
SetMultimapListenerHelper.getSource()
Returns the source
ObservableSetMultimap this
SetMultimapListenerHelper is bound to, which is used in change
notifications. |
static <K,V> ObservableSetMultimap<K,V> |
CollectionUtils.observableHashMultimap()
Returns a (modifiable) new
ObservableSetMultimap wrapping a
HashMultimap . |
static <K,V> ObservableSetMultimap<K,V> |
CollectionUtils.observableSetMultimap(com.google.common.collect.SetMultimap<K,V> setMultimap)
Returns a (modifiable) new
ObservableSetMultimap wrapping the
given SetMultimap . |
static <K,V> ObservableSetMultimap<K,V> |
CollectionUtils.unmodifiableObservableSetMultimap(ObservableSetMultimap<K,V> setMultimap)
Returns an unmodifiable
ObservableSetMultimap wrapping the given
ObservableSetMultimap . |
Modifier and Type | Method and Description |
---|---|
static <K,V> ObservableSetMultimap<K,V> |
CollectionUtils.unmodifiableObservableSetMultimap(ObservableSetMultimap<K,V> setMultimap)
Returns an unmodifiable
ObservableSetMultimap wrapping the given
ObservableSetMultimap . |
Constructor and Description |
---|
AtomicChange(ObservableSetMultimap<K,V> source,
com.google.common.collect.SetMultimap<K,V> previousContents,
java.util.List<SetMultimapListenerHelper.ElementarySubChange<K,V>> elementarySubChanges)
Creates a new
MultisetListenerHelper.AtomicChange that
represents a change comprising multiple elementary sub-changesO. |
AtomicChange(ObservableSetMultimap<K,V> source,
com.google.common.collect.SetMultimap<K,V> previousContents,
SetMultimapListenerHelper.ElementarySubChange<K,V> elementarySubChange)
Creates a new
SetMultimapListenerHelper.AtomicChange that
represents a change comprising a single elementary sub-change. |
AtomicChange(ObservableSetMultimap<K,V> source,
SetMultimapChangeListener.Change<? extends K,? extends V> change)
Creates a new
MultisetListenerHelper.AtomicChange for the
passed in source, based on the data provided in the passed-in change. |
Change(ObservableSetMultimap<K,V> source)
Creates a new (atomic) change associated with the given source
ObservableSetMultimap . |
SetMultimapListenerHelper(ObservableSetMultimap<K,V> source)
Constructs a new
SetMultimapListenerHelper for the given source
ObservableSetMultimap . |
Copyright (c) 2014 itemis AG and others. All rights reserved.