public abstract class ReadOnlyDoubleProperty extends DoubleExpression implements ReadOnlyProperty<Number>
double
.ObservableDoubleValue
,
DoubleExpression
,
ReadOnlyProperty
Constructor and Description |
---|
ReadOnlyDoubleProperty()
The constructor of
ReadOnlyDoubleProperty . |
Modifier and Type | Method and Description |
---|---|
ReadOnlyObjectProperty<Double> |
asObject()
Creates a
ReadOnlyObjectProperty that holds the value
of this ReadOnlyDoubleProperty . |
static <T extends Number> |
readOnlyDoubleProperty(ReadOnlyProperty<T> property)
Returns a
ReadOnlyDoubleProperty that wraps a
ReadOnlyProperty . |
String |
toString()
Returns a string representation of this
ReadOnlyDoubleProperty object. |
add, add, add, add, add, divide, divide, divide, divide, divide, doubleExpression, doubleExpression, doubleValue, floatValue, getValue, intValue, longValue, multiply, multiply, multiply, multiply, multiply, negate, subtract, subtract, subtract, subtract, subtract
asString, asString, asString, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, greaterThanOrEqualTo, greaterThanOrEqualTo, greaterThanOrEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, lessThan, lessThan, lessThan, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo, lessThanOrEqualTo, lessThanOrEqualTo, lessThanOrEqualTo, numberExpression
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBean, getName
addListener, getValue, removeListener
addListener, removeListener
get
public ReadOnlyDoubleProperty()
ReadOnlyDoubleProperty
.public String toString()
ReadOnlyDoubleProperty
object.public static <T extends 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.0property
- The source ReadOnlyProperty
ReadOnlyDoubleProperty
that wraps the
ReadOnlyProperty
if necessaryNullPointerException
- if property
is null
public ReadOnlyObjectProperty<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.asObject
in class DoubleExpression
ReadOnlyObjectProperty
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.