javafx.beans.binding
Class When.ObjectConditionBuilder<T>
- javafx.beans.binding.When.ObjectConditionBuilder<T>
Enclosing class:
public class When.ObjectConditionBuilder<T> extends Object
An intermediate class needed while assembling the ternary expression. It should not be used in another context.
Since:
JavaFX 2.0
-
Method Summary
All MethodsInstance MethodsConcrete Methods Modifier and Type Method and Description ObjectBinding<T>otherwise(ObservableObjectValue<T> otherwiseValue)Defines theObservableObjectValuewhich value is returned by the ternary expression if the condition isfalse.ObjectBinding<T>otherwise(T otherwiseValue)Defines a constant value of the ternary expression, that is returned if the condition isfalse.
-
Method Detail
-
otherwise
public ObjectBinding<T> otherwise(ObservableObjectValue<T> otherwiseValue)
Defines theObservableObjectValuewhich value is returned by the ternary expression if the condition isfalse.Parameters:
otherwiseValue- the valueReturns:
the complete
ObjectBinding
-
otherwise
public ObjectBinding<T> otherwise(T otherwiseValue)
Defines a constant value of the ternary expression, that is returned if the condition isfalse.Parameters:
otherwiseValue- the valueReturns:
the complete
ObjectBinding
-
© 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.