K
- The key type of the wrapped ObservableSetMultimap
.V
- The value type of the wrapped ObservableSetMultimap
.public abstract class ReadOnlySetMultimapProperty<K,V> extends SetMultimapExpression<K,V> implements javafx.beans.property.ReadOnlyProperty<ObservableSetMultimap<K,V>>
Property
wrapping an ObservableSetMultimap
.
This class provides identical functionality for SetMultimap
as
ReadOnlyMapProperty
for Map
, ReadOnlySetProperty
for
Set
, or ReadOnlyListProperty
for List
.
empty, size
Constructor and Description |
---|
ReadOnlySetMultimapProperty() |
Modifier and Type | Method and Description |
---|---|
protected void |
appendValueToString(java.lang.StringBuilder result)
Appends a representation of this
SetMultimapProperty 's value to
the given StringBuilder . |
void |
bindContent(ObservableSetMultimap<K,V> target)
Creates a unidirectional content binding between the
ObservableSetMultimap , that is wrapped in this
ReadOnlySetMultimapProperty , and the given
ObservableSetMultimap . |
void |
bindContentBidirectional(ObservableSetMultimap<K,V> other)
Creates a bidirectional content binding of the
ObservableSetMultimap , that is wrapped in this
ReadOnlySetMultimapProperty , and the given
ObservableSetMultimap . |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
java.lang.String |
toString() |
void |
unbindContent(java.lang.Object target)
Deletes a content binding between the
ObservableSetMultimap , that
is wrapped in this ReadOnlySetMultimapProperty , and another
Object . |
void |
unbindContentBidirectional(java.lang.Object other)
Deletes a bidirectional content binding between the
ObservableSetMultimap , that is wrapped in this
ReadOnlySetMultimapProperty , and another Object . |
asMap, asString, clear, containsEntry, containsKey, containsValue, emptyProperty, entries, get, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, keys, keySet, put, putAll, putAll, remove, removeAll, replaceAll, replaceValues, setMultimapExpression, size, sizeProperty, values, valuesAt, valuesAt
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addListener, getValue, removeListener
addListener, removeListener
protected void appendValueToString(java.lang.StringBuilder result)
SetMultimapProperty
's value to
the given StringBuilder
. Gets called from toString()
to
allow subclasses to provide a changed value representation.result
- A StringBuilder
to append the value representation to.public void bindContent(ObservableSetMultimap<K,V> target)
ObservableSetMultimap
, that is wrapped in this
ReadOnlySetMultimapProperty
, and the given
ObservableSetMultimap
.
A content binding ensures that the content of the wrapped
ObservableSetMultimap
is the same as that of the other
ObservableSetMultimap
. If the content of the other
ObservableSetMultimap
changes, the wrapped
ObservableSetMultimap
will be updated automatically.
target
- The ObservableSetMultimap
this property should be
unidirectionally bound to.public void bindContentBidirectional(ObservableSetMultimap<K,V> other)
ObservableSetMultimap
, that is wrapped in this
ReadOnlySetMultimapProperty
, and the given
ObservableSetMultimap
.
A bidirectional content binding ensures that the content of the two
ObservableSetMultimaps
are the same. If the
content of one of the ObservableSetMultimaps
changes, the other one will be updated
automatically.
other
- The ObservableSetMultimap
this property should be
bidirectionally bound to.public boolean equals(java.lang.Object other)
public int hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
public void unbindContent(java.lang.Object target)
ObservableSetMultimap
, that
is wrapped in this ReadOnlySetMultimapProperty
, and another
Object
.target
- The Object
to which the binding should be removed.public void unbindContentBidirectional(java.lang.Object other)
ObservableSetMultimap
, that is wrapped in this
ReadOnlySetMultimapProperty
, and another Object
.other
- The Object
to which the bidirectional binding should
be removed.Copyright (c) 2014 itemis AG and others. All rights reserved.