Uses of Interface
org.controlsfx.validation.Validator
Packages that use Validator
Package
Description
A package containing validation-related API (that is, API to allow for developers
to easily validate user input, and to provide visual feedback on the results).
-
Uses of Validator in org.controlsfx.validation
Methods in org.controlsfx.validation that return ValidatorModifier and TypeMethodDescriptionstatic <T> Validator
<T> Combines the given validators into a single Validator instance.static <T> Validator
<T> Validator.createEmptyValidator
(String message) Factory method to create a validator, which checks if value exists.static <T> Validator
<T> Validator.createEmptyValidator
(String message, Severity severity) Factory method to create a validator, which checks if value exists.static <T> Validator
<T> Validator.createEqualsValidator
(String message, Collection<T> values) Factory method to create a validator, which checks if value exists in the provided collection.static <T> Validator
<T> Validator.createEqualsValidator
(String message, Severity severity, Collection<T> values) Factory method to create a validator, which if value exists in the provided collection.static <T> Validator
<T> Validator.createPredicateValidator
(Predicate<T> predicate, String message) Factory method to create a validator, which evaluates the value validity with a given predicate.static <T> Validator
<T> Validator.createPredicateValidator
(Predicate<T> predicate, String message, Severity severity) Factory method to create a validator, which evaluates the value validity with a given predicate.Validator.createRegexValidator
(String message, String regex, Severity severity) Factory method to create a validator, which checks the value against a given regular expression.Validator.createRegexValidator
(String message, Pattern regex, Severity severity) Factory method to create a validator, which checks the value against a given regular expression.Methods in org.controlsfx.validation with parameters of type ValidatorModifier and TypeMethodDescriptionstatic <T> Validator
<T> Combines the given validators into a single Validator instance.<T> boolean
ValidationSupport.registerValidator
(javafx.scene.control.Control c, boolean required, Validator<T> validator) RegistersValidator
for specified control with additional possiblity to mark control as required or not.<T> boolean
ValidationSupport.registerValidator
(javafx.scene.control.Control c, Validator<T> validator) RegistersValidator
for specified control and makes control required