public class LogicBindings extends Object
| Constructor and Description |
|---|
LogicBindings() |
| Modifier and Type | Method and Description |
|---|---|
static BooleanBinding |
and(ObservableBooleanValue... values)
A boolean binding that is
true only when all dependent observable boolean values are true. |
static BooleanBinding |
or(ObservableBooleanValue... values)
A boolean binding that is only
true when at leased one of the dependent observable boolean values are true. |
public static BooleanBinding and(ObservableBooleanValue... values)
A boolean binding that is true only when all dependent observable boolean values are true.
This can be useful in cases where the Bindings.and(javafx.beans.value.ObservableBooleanValue, javafx.beans.value.ObservableBooleanValue) with 2 arguments isn’t enough.
values - variable number of observable boolean values that are used for the bindingpublic static BooleanBinding or(ObservableBooleanValue... values)
A boolean binding that is only true when at leased one of the dependent observable boolean values are true.
This can be useful in cases where the Bindings.or(javafx.beans.value.ObservableBooleanValue, javafx.beans.value.ObservableBooleanValue) with 2 arguments isn’t enough.
values - variable number of observable boolean values that are used for the binding