public abstract class ReadOnlyDoubleProperty extends DoubleExpression implements ReadOnlyProperty<java.lang.Number>
double
.javafx.beans.value.ObservableDoubleValue
,
javafx.beans.binding.DoubleExpression
,
ReadOnlyProperty
Constructor and Description |
---|
ReadOnlyDoubleProperty()
The constructor of
ReadOnlyDoubleProperty . |
Modifier and Type | Method and Description |
---|---|
ReadOnlyObjectProperty<java.lang.Double> |
asObject()
Creates a
ReadOnlyObjectProperty that holds the value
of this ReadOnlyDoubleProperty . |
static <T extends java.lang.Number> |
readOnlyDoubleProperty(ReadOnlyProperty<T> property)
Returns a
ReadOnlyDoubleProperty that wraps a
ReadOnlyProperty . |
java.lang.String |
toString()
Returns a string representation of this
ReadOnlyDoubleProperty object. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBean, getName
public ReadOnlyDoubleProperty()
ReadOnlyDoubleProperty
.public java.lang.String toString()
ReadOnlyDoubleProperty
object.ReadOnlyDoubleProperty
object.public static <T extends java.lang.Number> ReadOnlyDoubleProperty readOnlyDoubleProperty(ReadOnlyProperty<T> property)
ReadOnlyDoubleProperty
that wraps a
ReadOnlyProperty
. If the
ReadOnlyProperty
is already a ReadOnlyDoubleProperty
, it
will be returned. Otherwise a new
ReadOnlyDoubleProperty
is created that is bound to
the ReadOnlyProperty
.
Note: null values will be interpreted as 0.0T
- The type of Number to be wrappedproperty
- The source ReadOnlyProperty
ReadOnlyDoubleProperty
that wraps the
ReadOnlyProperty
if necessaryjava.lang.NullPointerException
- if property
is null
public ReadOnlyObjectProperty<java.lang.Double> asObject()
ReadOnlyObjectProperty
that holds the value
of this ReadOnlyDoubleProperty
. If the
value of this ReadOnlyDoubleProperty
changes, the value of the
ReadOnlyObjectProperty
will be updated automatically.ReadOnlyObjectProperty