public class When.BooleanConditionBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ObservableBooleanValue |
trueResult |
private boolean |
trueResultValue |
Modifier | Constructor and Description |
---|---|
private |
BooleanConditionBuilder(ObservableBooleanValue thenValue) |
Modifier and Type | Method and Description |
---|---|
BooleanBinding |
otherwise(ObservableBooleanValue otherwiseValue)
Defines the
javafx.beans.value.ObservableBooleanValue which
value is returned by the ternary expression if the condition is
false . |
private ObservableBooleanValue trueResult
private boolean trueResultValue
private BooleanConditionBuilder(ObservableBooleanValue thenValue)
public BooleanBinding otherwise(ObservableBooleanValue otherwiseValue)
javafx.beans.value.ObservableBooleanValue
which
value is returned by the ternary expression if the condition is
false
.otherwiseValue
- the valueBooleanBinding