public class When.StringConditionBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ObservableStringValue |
trueResult |
private java.lang.String |
trueResultValue |
Modifier | Constructor and Description |
---|---|
private |
StringConditionBuilder(ObservableStringValue thenValue) |
Modifier and Type | Method and Description |
---|---|
StringBinding |
otherwise(ObservableStringValue otherwiseValue)
Defines the
javafx.beans.value.ObservableStringValue which
value is returned by the ternary expression if the condition is
false . |
private ObservableStringValue trueResult
private java.lang.String trueResultValue
private StringConditionBuilder(ObservableStringValue thenValue)
public StringBinding otherwise(ObservableStringValue otherwiseValue)
javafx.beans.value.ObservableStringValue
which
value is returned by the ternary expression if the condition is
false
.otherwiseValue
- the valueStringBinding