E - the type of the Set elementspublic abstract class ReadOnlySetProperty<E> extends SetExpression<E> implements ReadOnlyProperty<ObservableSet<E>>
ObservableSet.ObservableSet,
ObservableSetValue,
SetExpression,
ReadOnlyPropertyempty, size| Constructor and Description |
|---|
ReadOnlySetProperty()
The constructor of
ReadOnlySetProperty. |
| Modifier and Type | Method and Description |
|---|---|
void |
bindContent(ObservableSet<E> set)
Creates a content binding between the
ObservableSet, that is
wrapped in this ReadOnlySetProperty, and another ObservableSet. |
void |
bindContentBidirectional(ObservableSet<E> set)
Creates a bidirectional content binding of the
ObservableSet, that is
wrapped in this ReadOnlySetProperty, and another ObservableSet. |
boolean |
equals(Object obj) |
int |
hashCode()
Returns a hash code for this
ReadOnlySetProperty object. |
String |
toString()
Returns a string representation of this
ReadOnlySetProperty object. |
void |
unbindContent(Object object)
Deletes a content binding between the
ObservableSet, that is
wrapped in this ReadOnlySetProperty, and another Object. |
void |
unbindContentBidirectional(Object object)
Deletes a bidirectional content binding between the
ObservableSet, that is
wrapped in this ReadOnlySetProperty, and another Object. |
add, addAll, asString, clear, contains, containsAll, emptyProperty, getSize, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, iterator, remove, removeAll, retainAll, setExpression, size, sizeProperty, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBean, getNameaddListener, getValue, removeListeneraddListener, removeListenergetaddListener, removeListenerspliteratorparallelStream, removeIf, streampublic ReadOnlySetProperty()
ReadOnlySetProperty.public void bindContentBidirectional(ObservableSet<E> set)
ObservableSet, that is
wrapped in this ReadOnlySetProperty, and another ObservableSet.
A bidirectional content binding ensures that the content of two ObservableSets is the
same. If the content of one of the sets changes, the other one will be updated automatically.
set - the ObservableSet this property should be bound toNullPointerException - if set is nullIllegalArgumentException - if set is the same set that this ReadOnlySetProperty points topublic void unbindContentBidirectional(Object object)
ObservableSet, that is
wrapped in this ReadOnlySetProperty, and another Object.object - the Object to which the bidirectional binding should be removedNullPointerException - if object is nullIllegalArgumentException - if object is the same set that this ReadOnlySetProperty points topublic void bindContent(ObservableSet<E> set)
ObservableSet, that is
wrapped in this ReadOnlySetProperty, and another ObservableSet.
A content binding ensures that the content of the wrapped ObservableSets is the
same as that of the other set. If the content of the other set changes, the wrapped set will be updated
automatically. Once the wrapped set is bound to another set, you must not change it directly.
set - the ObservableSet this property should be bound toNullPointerException - if set is nullIllegalArgumentException - if set is the same set that this ReadOnlySetProperty points topublic void unbindContent(Object object)
ObservableSet, that is
wrapped in this ReadOnlySetProperty, and another Object.object - the Object to which the binding should be removedNullPointerException - if object is nullIllegalArgumentException - if object is the same set that this ReadOnlySetProperty points topublic boolean equals(Object obj)
public int hashCode()
ReadOnlySetProperty object.Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.