Spec-Zone.ru › OpenJavaFX 8
javafx.beans.binding

Class When.StringConditionBuilder

java.lang.Object
  • javafx.beans.binding.When.StringConditionBuilder

Enclosing class:

When



public class When.StringConditionBuilder
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
    StringBinding otherwise(ObservableStringValue otherwiseValue)
    Defines the ObservableStringValue which value is returned by the ternary expression if the condition is false.
    StringBinding otherwise(String otherwiseValue)
    Defines a constant value of the ternary expression, that is returned if the condition is false.
    • Methods inherited from class java.lang.Object

      clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Detail

    • otherwise

      public StringBinding otherwise(ObservableStringValue otherwiseValue)
      Defines the ObservableStringValue which value is returned by the ternary expression if the condition is false.

      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 is false.

      Parameters:

      otherwiseValue - the value

      Returns:

      the complete StringBinding

© 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.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API