ValidatedDoubleProperty
Boilerplate which avoids having to use generics. Instead of ValidatedProperty<Double>
, we can use ValidatedDoubleProperty
.
Functions
Identical to addChangeListener, but these listeners are guaranteed to fire BEFORE other listeners. These should be used for the sole purpose of updating single ObservableValues which are dependent on this ObservableValue. This helps (but doesn't guarantee) that properties change atomically. i.e. when one property changes, a related property also changes before other (regular) listeners fire. Therefore, the (regular) listeners cannot read inconsistent values.
Identical to addListener, but these listeners are guaranteed to fire BEFORE regular listeners. These should be used for the sole purpose of updating other ObservableValues which are dependent on this Observable.
Converts an ObservableValue, with a non-nullable to value, to an ObservableValue whose value IS nullable.
Returns a read-only view of this mutable DoubleProperty. Typical usage :
This property's value is set to other's value, and then both values are bound to each other. i.e. if either property changes, the other will also change.
This property's value is set to other's value, and then both values are bound to each other. i.e. if either property changes, the other will also change.
Removes a bidirectional bind created using bidirectionalBind.
This is the same as bindTo, but casting this
to Property<T>
, suppressing the unchecked cast. I believe this is fine in all cases.
The value of this property is bound to the value of property to.
Converts an ObservableValue, with a nullable to value, to an ObservableValue whose value is NOT nullable, by supplying a defaultValue.