Spec-Zone .ru
спецификации, руководства, описания, API
|
E
- the type of the List
elementspublic abstract class ReadOnlyListProperty<E> extends ListExpression<E> implements ReadOnlyProperty<ObservableList<E>>
ObservableList
.empty, 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(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
int |
hashCode()
Returns a hash code for this
ReadOnlyListProperty object. |
java.lang.String |
toString()
Returns a string representation of this
ReadOnlyListProperty object. |
void |
unbindContent(java.lang.Object object)
Deletes a content binding between the
ObservableList , that is
wrapped in this ReadOnlyListProperty , and another Object . |
void |
unbindContentBidirectional(java.lang.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, valueAt
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getBean, getName
addListener, getValue, removeListener
addListener, removeListener
get
addListener, removeListener
public 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 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)
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(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 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)
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()
ReadOnlyListProperty
object.public java.lang.String toString()
ReadOnlyListProperty
object.toString
in class java.lang.Object
ReadOnlyListProperty
object.Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to