E
- The element type of the ObservableMultiset
.public class SimpleMultisetProperty<E> extends MultisetPropertyBase<E>
Property
wrapping an
ObservableMultiset
.empty, size
Multiset.Entry<E>
Constructor and Description |
---|
SimpleMultisetProperty()
Constructs a new unnamed
SimpleMultisetProperty . |
SimpleMultisetProperty(java.lang.Object bean,
java.lang.String name)
Constructs a new
SimpleMultisetProperty for the given bean and
with the given name. |
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 | Method and Description |
---|---|
java.lang.Object |
getBean() |
java.lang.String |
getName() |
addListener, addListener, addListener, appendValueToString, bind, emptyProperty, fireValueChangedEvent, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, removeListener, set, sizeProperty, unbind
bindBidirectional, setValue, unbindBidirectional
bindContent, bindContentBidirectional, equals, hashCode, toString, unbindContent, unbindContentBidirectional
add, add, addAll, asString, clear, contains, containsAll, count, elementSet, entrySet, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, iterator, multisetExpression, remove, remove, removeAll, replaceAll, retainAll, setCount, setCount, size, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
replaceAll
public SimpleMultisetProperty()
SimpleMultisetProperty
.public SimpleMultisetProperty(java.lang.Object bean, java.lang.String name)
SimpleMultisetProperty
for the given bean and
with the given name.bean
- The bean this property is related to.name
- The name of the property.public SimpleMultisetProperty(java.lang.Object bean, java.lang.String name, ObservableMultiset<E> initialValue)
SimpleMultisetProperty
for the given bean and
with the given name and initial value.bean
- The bean this property is related to.name
- The name of the property.initialValue
- The initial value of the propertypublic SimpleMultisetProperty(ObservableMultiset<E> initialValue)
SimpleMultisetProperty
that is not
related to a bean, with the given initial value.initialValue
- The initial value of the propertyCopyright (c) 2014 itemis AG and others. All rights reserved.