Package javafx.beans.binding
Class NumberExpressionBase
java.lang.Object
javafx.beans.binding.NumberExpressionBase
- All Implemented Interfaces:
NumberExpression
,Observable
,ObservableNumberValue
,ObservableValue<Number>
- Direct Known Subclasses:
DoubleExpression
,IntegerExpression
,LongExpression
- Author:
- Bruno Salmon
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javafx.beans.Observable
addListener, removeListener
Methods inherited from interface javafx.beans.value.ObservableNumberValue
doubleValue, floatValue, intValue, longValue
Methods inherited from interface javafx.beans.value.ObservableValue
addListener, getValue, removeListener
-
Constructor Details
-
NumberExpressionBase
public NumberExpressionBase()
-
-
Method Details
-
asString
Description copied from interface:NumberExpression
Creates aStringBinding
that holds the value of theNumberExpression
turned into aString
. If the value of thisNumberExpression
changes, the value of theStringBinding
will be updated automatically.The conversion is done without any formatting applied.
- Specified by:
asString
in interfaceNumberExpression
- Returns:
- the new
StringBinding
-