APIdia Launch Partner
Top Description Constructors Methods
javafx.beans.property

public abstract Class ReadOnlyDoubleProperty

extends DoubleExpression
implements ReadOnlyProperty<Number>
Class Inheritance
All Implemented Interfaces
javafx.beans.property.ReadOnlyProperty, javafx.beans.value.ObservableValue, javafx.beans.Observable
Known Direct Subclasses
javafx.beans.property.ReadOnlyDoublePropertyBase, javafx.beans.property.DoubleProperty
Imports
javafx.beans.InvalidationListener, .WeakInvalidationListener, javafx.beans.binding.DoubleExpression

Superclass for all readonly properties wrapping a double.
Since
JavaFX 2.0
See Also
javafx.beans.value.ObservableDoubleValue, javafx.beans.binding.DoubleExpression, ReadOnlyProperty

Constructor Summary

AccessConstructor and Description
public
ReadOnlyDoubleProperty()

The constructor of ReadOnlyDoubleProperty.

Method Summary

Modifier and TypeMethod and Description
public ReadOnlyObjectProperty<Double>

Returns:

the new ReadOnlyObjectProperty
asObject
()

Overrides javafx.beans.binding.DoubleExpression.asObject.

Creates a javafx.beans.property.ReadOnlyObjectProperty that holds the value of this ReadOnlyDoubleProperty.

public static <
The type of Number to be wrapped
T extends Number
>
ReadOnlyDoubleProperty

Returns:

A ReadOnlyDoubleProperty that wraps the ReadOnlyProperty if necessary
readOnlyDoubleProperty
(final ReadOnlyProperty<T>
The source ReadOnlyProperty
property
)

Returns a ReadOnlyDoubleProperty that wraps a javafx.beans.property.ReadOnlyProperty.

public String

Returns:

a string representation of this ReadOnlyDoubleProperty object.
toString
()

Overrides java.lang.Object.toString.

Returns a string representation of this ReadOnlyDoubleProperty object.

Inherited from javafx.beans.binding.DoubleExpression:
addaddaddaddadddividedividedividedividedividedoubleExpressiondoubleExpressiondoubleValuefloatValuegetValueintValuelongValuemultiplymultiplymultiplymultiplymultiplynegatesubtractsubtractsubtractsubtractsubtract

Constructor Detail

ReadOnlyDoublePropertyback to summary
public ReadOnlyDoubleProperty()

The constructor of ReadOnlyDoubleProperty.

Method Detail

asObjectback to summary
public ReadOnlyObjectProperty<Double> asObject()

Overrides javafx.beans.binding.DoubleExpression.asObject.

Creates a javafx.beans.property.ReadOnlyObjectProperty that holds the value of this ReadOnlyDoubleProperty. If the value of this ReadOnlyDoubleProperty changes, the value of the ReadOnlyObjectProperty will be updated automatically.

Returns:ReadOnlyObjectProperty<Double>

the new ReadOnlyObjectProperty

Annotations
@Override
Since
JavaFX 8.0
readOnlyDoublePropertyback to summary
public static <T extends Number> ReadOnlyDoubleProperty readOnlyDoubleProperty(final ReadOnlyProperty<T> property)

Returns a ReadOnlyDoubleProperty that wraps a javafx.beans.property.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.0

Parameters
<T>
The type of Number to be wrapped
property:ReadOnlyProperty<T>

The source ReadOnlyProperty

Returns:ReadOnlyDoubleProperty

A ReadOnlyDoubleProperty that wraps the ReadOnlyProperty if necessary

Exceptions
NullPointerException:
if property is null
Since
JavaFX 8.0
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns a string representation of this ReadOnlyDoubleProperty object.

Returns:String

a string representation of this ReadOnlyDoubleProperty object.

Annotations
@Override