Set elements
Property wrapping an
javafx.collections.ObservableSet .
The value of a SetProperty can be get and set with get(),
getValue(), set(Object), and setValue(ObservableSet).
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 SetProperty can be read with getBean()
and getName().
javafx.collections.ObservableSet , javafx.beans.value.ObservableSetValue , javafx.beans.value.WritableSetValue , ReadOnlySetProperty, Property
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | bindBidirectional(Property<ObservableSet<E>>
the other other)PropertyImplements javafx. Create a bidirectional binding between this |
| public void | setValue(ObservableSet<E>
The new value v)Implements javafx. Set the wrapped value. |
| public String | Returns: a string representation of thisSetProperty object.Overrides javafx. Returns a string representation of this |
| public void | unbindBidirectional(Property<ObservableSet<E>>
the other other)PropertyImplements javafx. Removes a bidirectional binding between this |
| SetProperty | back to summary |
|---|---|
| public SetProperty() Creates a default | |
| bindBidirectional | back to summary |
|---|---|
| public void bindBidirectional(Property<ObservableSet<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(ObservableSet<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<ObservableSet<E>> other) Implements javafx. Doc from javafx. Removes a bidirectional binding between this
| |