Uses of Enum
org.controlsfx.validation.Severity
Packages that use Severity
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).
A package containing decoration API specific to the validation framework.
-
Uses of Severity in org.controlsfx.validation
Methods in org.controlsfx.validation that return SeverityModifier and TypeMethodDescriptionValidationMessage.getSeverity()MessageSeveritystatic SeverityReturns the enum constant of this type with the specified name.static Severity[]Severity.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.controlsfx.validation with parameters of type SeverityModifier and TypeMethodDescriptionValidationResult.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.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.static final ValidationResultValidationResult.fromMessageIf(javafx.scene.control.Control target, String text, Severity severity, boolean condition) Factory method to create validation result out of one message. -
Uses of Severity in org.controlsfx.validation.decoration
Methods in org.controlsfx.validation.decoration with parameters of type SeverityModifier and TypeMethodDescriptionprotected javafx.scene.NodeGraphicValidationDecoration.getGraphicBySeverity(Severity severity) protected StringGraphicValidationDecoration.getStyleBySeverity(Severity severity)