E - the type of the List elementspublic abstract class ReadOnlyListProperty<E> extends ListExpression<E> implements ReadOnlyProperty<ObservableList<E>>
ObservableList.ObservableList,
ObservableListValue,
ListExpression,
ReadOnlyPropertyempty, size| Constructor and Description |
|---|
ReadOnlyListProperty()
The constructor of
ReadOnlyListProperty. |
| Modifier and Type | Method and Description |
|---|---|
void |
bindContent(ObservableList<E> list)
Creates a content binding between the
ObservableList, that is
wrapped in this ReadOnlyListProperty, and another ObservableList. |
void |
bindContentBidirectional(ObservableList<E> list)
Creates a bidirectional content binding of the
ObservableList, that is
wrapped in this ReadOnlyListProperty, and another ObservableList. |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString()
Returns a string representation of this
ReadOnlyListProperty object. |
void |
unbindContent(Object object)
Deletes a content binding between the
ObservableList, that is
wrapped in this ReadOnlyListProperty, and another Object. |
void |
unbindContentBidirectional(Object object)
Deletes a bidirectional content binding between the
ObservableList, that is
wrapped in this ReadOnlyListProperty, and another Object. |
add, add, addAll, addAll, addAll, asString, clear, contains, containsAll, emptyProperty, get, getSize, getValue, indexOf, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, iterator, lastIndexOf, listExpression, listIterator, listIterator, remove, remove, remove, removeAll, removeAll, retainAll, retainAll, set, setAll, setAll, size, sizeProperty, subList, toArray, toArray, valueAt, valueAtclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBean, getNameaddListener, getValue, removeListeneraddListener, removeListenergetaddListener, filtered, removeListener, sorted, sortedreplaceAll, sort, spliteratorparallelStream, removeIf, streampublic ReadOnlyListProperty()
ReadOnlyListProperty.public void bindContentBidirectional(ObservableList<E> list)
ObservableList, that is
wrapped in this ReadOnlyListProperty, and another ObservableList.
A bidirectional content binding ensures that the content of two ObservableLists is the
same. If the content of one of the lists changes, the other one will be updated automatically.
list - the ObservableList this property should be bound toNullPointerException - if list is nullIllegalArgumentException - if list is the same list that this ReadOnlyListProperty points topublic void unbindContentBidirectional(Object object)
ObservableList, that is
wrapped in this ReadOnlyListProperty, and another Object.object - the Object to which the bidirectional binding should be removedNullPointerException - if object is nullIllegalArgumentException - if object is the same list that this ReadOnlyListProperty points topublic void bindContent(ObservableList<E> list)
ObservableList, that is
wrapped in this ReadOnlyListProperty, and another ObservableList.
A content binding ensures that the content of the wrapped ObservableLists is the
same as that of the other list. If the content of the other list changes, the wrapped list will be updated
automatically. Once the wrapped list is bound to another list, you must not change it directly.
list - the ObservableList this property should be bound toNullPointerException - if list is nullIllegalArgumentException - if list is the same list that this ReadOnlyListProperty points topublic void unbindContent(Object object)
ObservableList, that is
wrapped in this ReadOnlyListProperty, and another Object.object - the Object to which the binding should be removedNullPointerException - if object is nullIllegalArgumentException - if object is the same list that this ReadOnlyListProperty points topublic boolean equals(Object obj)
public int hashCode()
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.