Class MultisetProperty<E>
- java.lang.Object
-
- org.eclipse.gef.common.beans.binding.MultisetExpression<E>
-
- org.eclipse.gef.common.beans.property.ReadOnlyMultisetProperty<E>
-
- org.eclipse.gef.common.beans.property.MultisetProperty<E>
-
- Type Parameters:
E
- The element type of the wrappedObservableMultiset
.
- All Implemented Interfaces:
Multiset<E>
,java.lang.Iterable<E>
,java.util.Collection<E>
,javafx.beans.Observable
,javafx.beans.property.Property<ObservableMultiset<E>>
,javafx.beans.property.ReadOnlyProperty<ObservableMultiset<E>>
,javafx.beans.value.ObservableObjectValue<ObservableMultiset<E>>
,javafx.beans.value.ObservableValue<ObservableMultiset<E>>
,javafx.beans.value.WritableObjectValue<ObservableMultiset<E>>
,javafx.beans.value.WritableValue<ObservableMultiset<E>>
,ObservableMultisetValue<E>
,WritableMultisetValue<E>
,ObservableMultiset<E>
- Direct Known Subclasses:
MultisetPropertyBase
public abstract class MultisetProperty<E> extends ReadOnlyMultisetProperty<E> implements javafx.beans.property.Property<ObservableMultiset<E>>, WritableMultisetValue<E>
Abstract base class defining contract for aProperty
wrapping aObservableMultiset
.This class provides identical functionality for
Multiset
asMapProperty
forMap
,SetProperty
forSet
, orListProperty
forList
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.common.collect.Multiset
Multiset.Entry<E extends java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description MultisetProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bindBidirectional(javafx.beans.property.Property<ObservableMultiset<E>> other)
void
setValue(ObservableMultiset<E> v)
void
unbindBidirectional(javafx.beans.property.Property<ObservableMultiset<E>> other)
-
Methods inherited from class org.eclipse.gef.common.beans.property.ReadOnlyMultisetProperty
appendValueToString, bindContent, bindContentBidirectional, equals, hashCode, toString, unbindContent, unbindContentBidirectional
-
Methods inherited from class org.eclipse.gef.common.beans.binding.MultisetExpression
add, add, addAll, asString, clear, contains, containsAll, count, elementSet, emptyProperty, entrySet, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, iterator, multisetExpression, remove, remove, removeAll, replaceAll, retainAll, setCount, setCount, size, sizeProperty, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
addAll, clear, isEmpty, parallelStream, removeIf, stream, toArray, toArray, toArray
-
Methods inherited from interface com.google.common.collect.Multiset
add, add, contains, containsAll, count, elementSet, entrySet, equals, forEach, forEachEntry, hashCode, iterator, remove, remove, removeAll, retainAll, setCount, setCount, size, spliterator, toString
-
Methods inherited from interface org.eclipse.gef.common.collections.ObservableMultiset
addListener, removeListener, replaceAll
-
-
-
-
Method Detail
-
bindBidirectional
public void bindBidirectional(javafx.beans.property.Property<ObservableMultiset<E>> other)
- Specified by:
bindBidirectional
in interfacejavafx.beans.property.Property<E>
-
setValue
public void setValue(ObservableMultiset<E> v)
- Specified by:
setValue
in interfacejavafx.beans.value.WritableValue<E>
-
unbindBidirectional
public void unbindBidirectional(javafx.beans.property.Property<ObservableMultiset<E>> other)
- Specified by:
unbindBidirectional
in interfacejavafx.beans.property.Property<E>
-
-