Uses of Class
org.controlsfx.validation.Severity
-
Packages that use Severity Package Description org.controlsfx.validation 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).org.controlsfx.validation.decoration A package containing decoration API specific to the validation framework. -
-
Uses of Severity in org.controlsfx.validation
Methods in org.controlsfx.validation that return Severity Modifier and Type Method Description Severity
ValidationMessage. getSeverity()
MessageSeverity
static Severity
Severity. valueOf(String name)
Returns 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 Severity Modifier and Type Method Description 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. -
Uses of Severity in org.controlsfx.validation.decoration
Methods in org.controlsfx.validation.decoration with parameters of type Severity Modifier and Type Method Description protected javafx.scene.Node
GraphicValidationDecoration. getGraphicBySeverity(Severity severity)
protected String
GraphicValidationDecoration. getStyleBySeverity(Severity severity)
-