java.lang.Object
io.github.palexdev.materialfx.utils.BindingUtils
Utils class to convert bindings and expressions to properties.
Very useful when working with validators since they only accept properties and,
in my opinion, it is much easier to create the conditions using the JavaFX Bindings class.
-
Method Summary
Modifier and TypeMethodDescriptionstatic BooleanPropertytoProperty(BooleanExpression expression) Creates a newBooleanPropertyand binds it to the given bindings/expression.static DoublePropertytoProperty(DoubleExpression expression) Creates a newDoublePropertyand binds it to the given bindings/expression.static FloatPropertytoProperty(FloatExpression expression) Creates a newFloatPropertyand binds it to the given bindings/expression.static IntegerPropertytoProperty(IntegerExpression expression) Creates a newIntegerPropertyand binds it to the given bindings/expression.static LongPropertytoProperty(LongExpression expression) Creates a newLongPropertyand binds it to the given bindings/expression.static <T> ObjectProperty<T>toProperty(ObjectExpression<T> expression) static StringPropertytoProperty(StringExpression expression) Creates a newStringPropertyand binds it to the given bindings/expression.
-
Method Details
-
toProperty
-
toProperty
Creates a newIntegerPropertyand binds it to the given bindings/expression. -
toProperty
Creates a newLongPropertyand binds it to the given bindings/expression. -
toProperty
Creates a newFloatPropertyand binds it to the given bindings/expression. -
toProperty
Creates a newDoublePropertyand binds it to the given bindings/expression. -
toProperty
Creates a newBooleanPropertyand binds it to the given bindings/expression. -
toProperty
Creates a newStringPropertyand binds it to the given bindings/expression.
-