- java.lang.Object
-
- javafx.beans.binding.When.BooleanConditionBuilder
-
Method Summary
All MethodsInstance MethodsConcrete Methods Modifier and Type Method Description BooleanBindingotherwise(boolean otherwiseValue)Defines a constant value of the ternary expression, that is returned if the condition isfalse.BooleanBindingotherwise(ObservableBooleanValue otherwiseValue)Defines theObservableBooleanValuewhich value is returned by the ternary expression if the condition isfalse.
-
Method Detail
-
otherwise
public BooleanBinding otherwise(ObservableBooleanValue otherwiseValue)
Defines theObservableBooleanValuewhich 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
-
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.