Uses of Class
io.github.palexdev.materialfx.validation.MFXValidator
Packages that use MFXValidator
Package
Description
-
Uses of MFXValidator in io.github.palexdev.materialfx.controls
Fields in io.github.palexdev.materialfx.controls declared as MFXValidatorMethods in io.github.palexdev.materialfx.controls that return MFXValidatorModifier and TypeMethodDescriptionMFXComboBox.getValidator()MFXStepperToggle.getValidator()MFXTextField.getValidator() -
Uses of MFXValidator in io.github.palexdev.materialfx.controls.legacy
Methods in io.github.palexdev.materialfx.controls.legacy that return MFXValidator -
Uses of MFXValidator in io.github.palexdev.materialfx.validation
Methods in io.github.palexdev.materialfx.validation that return MFXValidatorModifier and TypeMethodDescriptionMFXValidator.constraint(Constraint constraint) Adds the givenConstraintto the validator's constraint list.MFXValidator.constraint(Severity severity, String message, BooleanExpression condition) Creates aConstraintwith the given parameters, then callsconstraint(Constraint).MFXValidator.constraint(String message, BooleanExpression condition) Creates aConstraintwith ERROR severity and the given message and condition, then callsconstraint(Constraint).MFXValidator.dependsOn(MFXValidator validator) Adds the givenMFXValidatordependency to this validator.Validated.getValidator()MFXValidator.removeConstraint(Constraint constraint) Removes the givenConstraintfrom the validator.MFXValidator.removeDependency(MFXValidator validator) Removes the given validator dependency from this validator.MFXValidator.setFailFast(boolean failFast) Sets whether thevalidate()method should fail fast.MFXValidator.setOnUpdated(BiConsumer<Boolean, List<Constraint>> onUpdated) Allows to specify the action to perform every time theupdate()method is triggered.MFXValidator.setSortBySeverity(boolean sortBySeverity) Allows to specify whether to sort the invalid constraints list by severity when callingvalidate().Methods in io.github.palexdev.materialfx.validation with parameters of type MFXValidatorModifier and TypeMethodDescriptionMFXValidator.dependsOn(MFXValidator validator) Adds the givenMFXValidatordependency to this validator.MFXValidator.removeDependency(MFXValidator validator) Removes the given validator dependency from this validator.