Uses of Class
io.github.palexdev.materialfx.validation.Constraint
Packages that use Constraint
-
Uses of Constraint in io.github.palexdev.materialfx.validation
Methods in io.github.palexdev.materialfx.validation that return ConstraintModifier and TypeMethodDescriptionConstraint.Builder.get()static ConstraintConstraint.of(Severity severity, String message, BooleanExpression condition) static ConstraintConstraint.of(String message, BooleanExpression condition) Constraint.setChainMode(ChainMode chainMode) Sets the mode defining how this constraint will be chained to other constraints.Methods in io.github.palexdev.materialfx.validation that return types with arguments of type ConstraintModifier and TypeMethodDescriptionMFXValidator.getOnUpdated()MFXValidator.validate()This method queries all the validator's dependencies and constraints to build a list containing all the unmet constraints.default List<Constraint>Validated.validate()Methods in io.github.palexdev.materialfx.validation with parameters of type ConstraintModifier and TypeMethodDescriptionMFXValidator.constraint(Constraint constraint) Adds the givenConstraintto the validator's constraint list.MFXValidator.removeConstraint(Constraint constraint) Removes the givenConstraintfrom the validator.Method parameters in io.github.palexdev.materialfx.validation with type arguments of type ConstraintModifier and TypeMethodDescriptionMFXValidator.setOnUpdated(BiConsumer<Boolean, List<Constraint>> onUpdated) Allows to specify the action to perform every time theMFXValidator.update()method is triggered.