List elements
Property wrapping an
javafx.collections.ObservableList .
The value of a ListProperty can be get and set with get(),
getValue(), set(Object), and setValue(ObservableList).
A property can be bound and unbound unidirectional with
bind(javafx.beans.value.ObservableValue) and unbind(). Bidirectional bindings
can be created and removed with bindBidirectional(Property) and
unbindBidirectional(Property).
The context of a ListProperty can be read with getBean()
and getName().
javafx.collections.ObservableList , javafx.beans.value.ObservableListValue , javafx.beans.value.WritableListValue , ReadOnlyListProperty, Property
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | bindBidirectional(Property<ObservableList<E>> other)
Implements javafx. Create a bidirectional binding between this |
| public void | setValue(ObservableList<E> v)
Implements javafx. Set the wrapped value. |
| public String | Returns: a string representation of thisListProperty object.Overrides javafx. Returns a string representation of this |
| public void | unbindBidirectional(Property<ObservableList<E>> other)
Implements javafx. Removes a bidirectional binding between this |
| ListProperty | back to summary |
|---|---|
| public ListProperty() Creates a default | |
| bindBidirectional | back to summary |
|---|---|
| public void bindBidirectional(Property<ObservableList<E>> other) Implements javafx. Doc from javafx. Create a bidirectional binding between this It is possible to have multiple bidirectional bindings of one Property. JavaFX bidirectional binding implementation use weak listeners. This means bidirectional binding does not prevent properties from being garbage collected.
| |
| setValue | back to summary |
|---|---|
| public void setValue(ObservableList<E> v) Implements javafx. Doc from javafx. Set the wrapped value.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides javafx. Returns a string representation of this | |
| unbindBidirectional | back to summary |
|---|---|
| public void unbindBidirectional(Property<ObservableList<E>> other) Implements javafx. Doc from javafx. Removes a bidirectional binding between this
| |