Uses of Enum Class
com.vaadin.flow.data.binder.ErrorLevel
Packages that use ErrorLevel
-
Uses of ErrorLevel in com.vaadin.flow.data.binder
Methods in com.vaadin.flow.data.binder that return ErrorLevelModifier and TypeMethodDescriptionstatic ErrorLevelReturns the enum constant of this class with the specified name.static ErrorLevel[]ErrorLevel.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.vaadin.flow.data.binder that return types with arguments of type ErrorLevelModifier and TypeMethodDescriptionValidationResult.getErrorLevel()Returns optional error level for this validation result.ValidationResult.SimpleValidationResult.getErrorLevel()Methods in com.vaadin.flow.data.binder with parameters of type ErrorLevelModifier and TypeMethodDescriptionstatic ValidationResultValidationResult.create(String errorMessage, ErrorLevel errorLevel) Creates the validation result with the givenerrorMessageanderrorLevel.static <T> Validator<T> Validator.from(SerializablePredicate<T> guard, ErrorMessageProvider errorMessageProvider, ErrorLevel errorLevel) Builds a validator out of a conditional function and an error message provider.static <T> Validator<T> Validator.from(SerializablePredicate<T> guard, String errorMessage, ErrorLevel errorLevel) Builds a validator out of a conditional function and an error message.protected StringDefaultBinderValidationErrorHandler.getErrorThemeName(ErrorLevel errorLevel) Gets the theme name for theErrorLevel.default Binder.BindingBuilder<BEAN, TARGET> Binder.BindingBuilder.withValidator(SerializablePredicate<? super TARGET> predicate, ErrorMessageProvider errorMessageProvider, ErrorLevel errorLevel) A convenience method to add a validator to this binding using theValidator.from(SerializablePredicate, ErrorMessageProvider, ErrorLevel)factory method.default Binder.BindingBuilder<BEAN, TARGET> Binder.BindingBuilder.withValidator(SerializablePredicate<? super TARGET> predicate, String message, ErrorLevel errorLevel) A convenience method to add a validator to this binding using theValidator.from(SerializablePredicate, String, ErrorLevel)factory method.