ValidationResult |
ValidationResult.addMessageIf(javafx.scene.control.Control target,
String text,
Severity severity,
boolean condition) |
Add one message to validation result with condition.
|
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,
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,
Severity severity) |
Factory method to create a validator, which evaluates the value validity with a given predicate.
|
static Validator<String> |
Validator.createRegexValidator(String message,
String regex,
Severity severity) |
Factory method to create a validator, which checks the value against a given regular expression.
|
static Validator<String> |
Validator.createRegexValidator(String message,
Pattern regex,
Severity severity) |
Factory method to create a validator, which checks the value against a given regular expression.
|
static ValidationResult |
ValidationResult.fromMessageIf(javafx.scene.control.Control target,
String text,
Severity severity,
boolean condition) |
Factory method to create validation result out of one message.
|