Class When.StringConditionBuilder
java.lang.Object
javafx.beans.binding.When.StringConditionBuilder
- Enclosing class:
When
An intermediate class needed while assembling the ternary expression. It
should not be used in another context.
- Since:
- JavaFX 2.0
-
Method Summary
Modifier and TypeMethodDescriptionDefines a constant value of the ternary expression, that is returned if the condition isfalse.otherwise(ObservableStringValue otherwiseValue) Defines theObservableStringValuewhich value is returned by the ternary expression if the condition isfalse.
-
Method Details
-
otherwise
Defines theObservableStringValuewhich value is returned by the ternary expression if the condition isfalse.- Parameters:
otherwiseValue- the value- Returns:
- the complete
StringBinding
-
otherwise
Defines a constant value of the ternary expression, that is returned if the condition isfalse.- Parameters:
otherwiseValue- the value- Returns:
- the complete
StringBinding
-