java.lang.Object
javafx.beans.binding.When.NumberConditionBuilder
- Enclosing class:
When
If-then-else expression returning a number.
- Since:
- JavaFX 2.0
-
Method Summary
Modifier and TypeMethodDescriptionotherwise
(double otherwiseValue) Defines a constant value of the ternary expression, that is returned if the condition isfalse
.otherwise
(float otherwiseValue) Defines a constant value of the ternary expression, that is returned if the condition isfalse
.otherwise
(int otherwiseValue) Defines a constant value of the ternary expression, that is returned if the condition isfalse
.otherwise
(long otherwiseValue) Defines a constant value of the ternary expression, that is returned if the condition isfalse
.otherwise
(ObservableNumberValue otherwiseValue) Defines theObservableNumberValue
which value is returned by the ternary expression if the condition isfalse
.
-
Method Details
-
otherwise
Defines theObservableNumberValue
which value is returned by the ternary expression if the condition isfalse
.- Parameters:
otherwiseValue
- the value- Returns:
- the complete
DoubleBinding
-
otherwise
Defines a constant value of the ternary expression, that is returned if the condition isfalse
.- Parameters:
otherwiseValue
- the value- Returns:
- the complete
DoubleBinding
-
otherwise
Defines a constant value of the ternary expression, that is returned if the condition isfalse
.- Parameters:
otherwiseValue
- the value- Returns:
- the complete
NumberBinding
-
otherwise
Defines a constant value of the ternary expression, that is returned if the condition isfalse
.- Parameters:
otherwiseValue
- the value- Returns:
- the complete
NumberBinding
-
otherwise
Defines a constant value of the ternary expression, that is returned if the condition isfalse
.- Parameters:
otherwiseValue
- the value- Returns:
- the complete
NumberBinding
-