モジュール javafx.base
パッケージ javafx.beans.binding

クラスWhen.NumberConditionBuilder

  • 含まれているクラス:
    When


    public class When.NumberConditionBuilder
    extends Object
    数値を返すIf-then-else式。
    導入されたバージョン:
    JavaFX 2.0
    • メソッドの詳細

      • それ以外

        public DoubleBinding otherwise​(double otherwiseValue)
        条件がfalseである場合に返される3項式の定数値を定義します。
        パラメータ:
        otherwiseValue - 値
        戻り値:
        完全なDoubleBinding
      • それ以外

        public NumberBinding otherwise​(float otherwiseValue)
        条件がfalseである場合に返される3項式の定数値を定義します。
        パラメータ:
        otherwiseValue - 値
        戻り値:
        完全なNumberBinding
      • それ以外

        public NumberBinding otherwise​(long otherwiseValue)
        条件がfalseである場合に返される3項式の定数値を定義します。
        パラメータ:
        otherwiseValue - 値
        戻り値:
        完全なNumberBinding
      • それ以外

        public NumberBinding otherwise​(int otherwiseValue)
        条件がfalseである場合に返される3項式の定数値を定義します。
        パラメータ:
        otherwiseValue - 値
        戻り値:
        完全なNumberBinding