-
- All Superinterfaces:
WritableNumberValue
,WritableValue<Number>
- All Known Implementing Classes:
DoubleProperty
,DoublePropertyBase
,JavaBeanDoubleProperty
,ReadOnlyDoubleWrapper
,SimpleDoubleProperty
,SimpleStyleableDoubleProperty
,StyleableDoubleProperty
public interface WritableDoubleValue extends WritableNumberValue
A writable double value.- Since:
- JavaFX 2.0
- See Also:
WritableValue
,WritableNumberValue
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
get()
Get the wrapped value.void
set(double value)
Set the wrapped value.void
setValue(Number value)
Set the wrapped value.-
Methods inherited from interface javafx.beans.value.WritableValue
getValue
-
-
-
-
Method Detail
-
get
double get()
Get the wrapped value. UnlikeWritableValue.getValue()
, this method returns primitive double. Needs to be identical toWritableValue.getValue()
.- Returns:
- The current value
-
set
void set(double value)
Set the wrapped value. UnlikesetValue(java.lang.Number)
, this method uses primitive double.- Parameters:
value
- The new value
-
setValue
void setValue(Number value)
Set the wrapped value.Note: this method should accept null without throwing an exception, setting "0.0" instead.
- Specified by:
setValue
in interfaceWritableValue<Number>
- Parameters:
value
- The new value
-
-