- java.lang.Object
-
- javafx.beans.binding.When.NumberConditionBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleBinding
otherwise(double otherwiseValue)
Defines a constant value of the ternary expression, that is returned if the condition isfalse
.NumberBinding
otherwise(float otherwiseValue)
Defines a constant value of the ternary expression, that is returned if the condition isfalse
.NumberBinding
otherwise(int otherwiseValue)
Defines a constant value of the ternary expression, that is returned if the condition isfalse
.NumberBinding
otherwise(long otherwiseValue)
Defines a constant value of the ternary expression, that is returned if the condition isfalse
.NumberBinding
otherwise(ObservableNumberValue otherwiseValue)
Defines theObservableNumberValue
which value is returned by the ternary expression if the condition isfalse
.
-
-
-
Method Detail
-
otherwise
public NumberBinding otherwise(ObservableNumberValue otherwiseValue)
Defines theObservableNumberValue
which value is returned by the ternary expression if the condition isfalse
.- Parameters:
otherwiseValue
- the value- Returns:
- the complete
DoubleBinding
-
otherwise
public DoubleBinding otherwise(double otherwiseValue)
Defines a constant value of the ternary expression, that is returned if the condition isfalse
.- Parameters:
otherwiseValue
- the value- Returns:
- the complete
DoubleBinding
-
otherwise
public NumberBinding otherwise(float otherwiseValue)
Defines a constant value of the ternary expression, that is returned if the condition isfalse
.- Parameters:
otherwiseValue
- the value- Returns:
- the complete
NumberBinding
-
otherwise
public NumberBinding otherwise(long otherwiseValue)
Defines a constant value of the ternary expression, that is returned if the condition isfalse
.- Parameters:
otherwiseValue
- the value- Returns:
- the complete
NumberBinding
-
otherwise
public NumberBinding otherwise(int otherwiseValue)
Defines a constant value of the ternary expression, that is returned if the condition isfalse
.- Parameters:
otherwiseValue
- the value- Returns:
- the complete
NumberBinding
-
-