- java.lang.Object
-
- javafx.beans.binding.When.StringConditionBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBindingotherwise(String otherwiseValue)Defines a constant value of the ternary expression, that is returned if the condition isfalse.StringBindingotherwise(ObservableStringValue otherwiseValue)Defines theObservableStringValuewhich value is returned by the ternary expression if the condition isfalse.
-
-
-
Method Detail
-
otherwise
public StringBinding otherwise(ObservableStringValue otherwiseValue)
Defines theObservableStringValuewhich value is returned by the ternary expression if the condition isfalse.- Parameters:
otherwiseValue- the value- Returns:
- the complete
StringBinding
-
otherwise
public StringBinding otherwise(String otherwiseValue)
Defines a constant value of the ternary expression, that is returned if the condition isfalse.- Parameters:
otherwiseValue- the value- Returns:
- the complete
StringBinding
-
-