Interface ObservableNumberValue
- All Superinterfaces:
- Observable,- ObservableValue<Number>
- All Known Subinterfaces:
- NumberBinding,- NumberExpression,- ObservableDoubleValue,- ObservableFloatValue,- ObservableIntegerValue,- ObservableLongValue
- All Known Implementing Classes:
- DoubleBinding,- DoubleExpression,- DoubleProperty,- DoublePropertyBase,- FloatBinding,- FloatExpression,- FloatProperty,- FloatPropertyBase,- IntegerBinding,- IntegerExpression,- IntegerProperty,- IntegerPropertyBase,- JavaBeanDoubleProperty,- JavaBeanFloatProperty,- JavaBeanIntegerProperty,- JavaBeanLongProperty,- LongBinding,- LongExpression,- LongProperty,- LongPropertyBase,- NumberExpressionBase,- ReadOnlyDoubleProperty,- ReadOnlyDoublePropertyBase,- ReadOnlyDoubleWrapper,- ReadOnlyFloatProperty,- ReadOnlyFloatPropertyBase,- ReadOnlyFloatWrapper,- ReadOnlyIntegerProperty,- ReadOnlyIntegerPropertyBase,- ReadOnlyIntegerWrapper,- ReadOnlyJavaBeanDoubleProperty,- ReadOnlyJavaBeanFloatProperty,- ReadOnlyJavaBeanIntegerProperty,- ReadOnlyJavaBeanLongProperty,- ReadOnlyLongProperty,- ReadOnlyLongPropertyBase,- ReadOnlyLongWrapper,- SimpleDoubleProperty,- SimpleFloatProperty,- SimpleIntegerProperty,- SimpleLongProperty,- SimpleStyleableDoubleProperty,- SimpleStyleableFloatProperty,- SimpleStyleableIntegerProperty,- SimpleStyleableLongProperty,- StyleableDoubleProperty,- StyleableFloatProperty,- StyleableIntegerProperty,- StyleableLongProperty
A common interface of all sub-interfaces of 
ObservableValue that wrap
 a number.- Since:
- JavaFX 2.0
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptiondoubleReturns the value of thisObservableNumberValueas adouble.floatReturns the value of thisObservableNumberValueas afloat.intintValue()Returns the value of thisObservableNumberValueas anint.longReturns the value of thisObservableNumberValueas along.Methods declared in interface javafx.beans.ObservableaddListener, removeListener, subscribeMethods declared in interface javafx.beans.value.ObservableValueaddListener, flatMap, getValue, map, orElse, removeListener, subscribe, subscribe, when
- 
Method Details- 
intValueint intValue()Returns the value of thisObservableNumberValueas anint. If the value is not anint, a standard cast is performed.- Returns:
- The value of this ObservableNumberValueas anint
 
- 
longValuelong longValue()Returns the value of thisObservableNumberValueas along. If the value is not along, a standard cast is performed.- Returns:
- The value of this ObservableNumberValueas along
 
- 
floatValuefloat floatValue()Returns the value of thisObservableNumberValueas afloat. If the value is not afloat, a standard cast is performed.- Returns:
- The value of this ObservableNumberValueas afloat
 
- 
doubleValuedouble doubleValue()Returns the value of thisObservableNumberValueas adouble. If the value is not adouble, a standard cast is performed.- Returns:
- The value of this ObservableNumberValueas adouble
 
 
-