E
- the type of the List
elementspublic abstract class ReadOnlyListProperty<E> extends <any> implements ReadOnlyProperty<<any>>
javafx.collections.ObservableList
.javafx.collections.ObservableList
,
javafx.beans.value.ObservableListValue
,
javafx.beans.binding.ListExpression
,
ReadOnlyProperty
Constructor and Description |
---|
ReadOnlyListProperty()
The constructor of
ReadOnlyListProperty . |
Modifier and Type | Method and Description |
---|---|
void |
bindContent(<any> list)
Creates a content binding between the
javafx.collections.ObservableList , that is
wrapped in this ReadOnlyListProperty , and another ObservableList . |
void |
bindContentBidirectional(<any> list)
Creates a bidirectional content binding of the
javafx.collections.ObservableList , that is
wrapped in this ReadOnlyListProperty , and another ObservableList . |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString()
Returns a string representation of this
ReadOnlyListProperty object. |
void |
unbindContent(java.lang.Object object)
Deletes a content binding between the
javafx.collections.ObservableList , that is
wrapped in this ReadOnlyListProperty , and another Object . |
void |
unbindContentBidirectional(java.lang.Object object)
Deletes a bidirectional content binding between the
javafx.collections.ObservableList , that is
wrapped in this ReadOnlyListProperty , and another Object . |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getBean, getName
public ReadOnlyListProperty()
ReadOnlyListProperty
.public void bindContentBidirectional(<any> list)
javafx.collections.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 tojava.lang.NullPointerException
- if list
is null
java.lang.IllegalArgumentException
- if list
is the same list that this ReadOnlyListProperty
points topublic void unbindContentBidirectional(java.lang.Object object)
javafx.collections.ObservableList
, that is
wrapped in this ReadOnlyListProperty
, and another Object
.object
- the Object
to which the bidirectional binding should be removedjava.lang.NullPointerException
- if object
is null
java.lang.IllegalArgumentException
- if object
is the same list that this ReadOnlyListProperty
points topublic void bindContent(<any> list)
javafx.collections.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 tojava.lang.NullPointerException
- if list
is null
java.lang.IllegalArgumentException
- if list
is the same list that this ReadOnlyListProperty
points topublic void unbindContent(java.lang.Object object)
javafx.collections.ObservableList
, that is
wrapped in this ReadOnlyListProperty
, and another Object
.object
- the Object
to which the binding should be removedjava.lang.NullPointerException
- if object
is null
java.lang.IllegalArgumentException
- if object
is the same list that this ReadOnlyListProperty
points topublic boolean equals(java.lang.Object obj)
public int hashCode()
public java.lang.String toString()
ReadOnlyListProperty
object.ReadOnlyListProperty
object.