public class When.NumberConditionBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ObservableNumberValue |
thenValue |
Modifier | Constructor and Description |
---|---|
private |
NumberConditionBuilder(ObservableNumberValue thenValue) |
Modifier and Type | Method and Description |
---|---|
NumberBinding |
otherwise(ObservableNumberValue otherwiseValue)
Defines the
javafx.beans.value.ObservableNumberValue which
value is returned by the ternary expression if the condition is
false . |
private NumberConditionBuilder(ObservableNumberValue thenValue)
public NumberBinding otherwise(ObservableNumberValue otherwiseValue)
javafx.beans.value.ObservableNumberValue
which
value is returned by the ternary expression if the condition is
false
.otherwiseValue
- the valueDoubleBinding