- java.lang.Object
-
- javafx.beans.binding.When.BooleanConditionBuilder
-
-
Method Summary
Modifier and Type Method Description BooleanBinding
otherwise(boolean otherwiseValue)
Defines a constant value of the ternary expression, that is returned if the condition isfalse
.BooleanBinding
otherwise(ObservableBooleanValue otherwiseValue)
Defines theObservableBooleanValue
which value is returned by the ternary expression if the condition isfalse
.
-
-
-
Method Detail
-
otherwise
public BooleanBinding otherwise(ObservableBooleanValue otherwiseValue)
Defines theObservableBooleanValue
which value is returned by the ternary expression if the condition isfalse
.- Parameters:
otherwiseValue
- the value- Returns:
- the complete
BooleanBinding
-
otherwise
public BooleanBinding otherwise(boolean otherwiseValue)
Defines a constant value of the ternary expression, that is returned if the condition isfalse
.- Parameters:
otherwiseValue
- the value- Returns:
- the complete
BooleanBinding
-
-