- java.lang.Object
-
- javafx.beans.binding.When.ObjectConditionBuilder<T>
-
-
方法摘要
所有方法 接口方法 具体的方法 Modifier and Type 方法 描述 ObjectBinding<T>otherwise(ObservableObjectValue<T> otherwiseValue)定义ObservableObjectValue如果条件为false, 则该值由三元表达式返回。ObjectBinding<T>otherwise(T otherwiseValue)定义三元表达式的常量值,如果条件为false,则返回。
-
-
-
方法详细信息
-
otherwise
public ObjectBinding<T> otherwise(ObservableObjectValue<T> otherwiseValue)
定义ObservableObjectValue如果条件为false, 则该值由三元表达式返回。- 参数
-
otherwiseValue- 值 - 结果
-
完整的
ObjectBinding
-
otherwise
public ObjectBinding<T> otherwise(T otherwiseValue)
定义三元表达式的常量值,如果条件为false,则返回该false。- 参数
-
otherwiseValue- 值 - 结果
-
完整的
ObjectBinding
-
-