Uses of Interface
com.vaadin.flow.data.binder.Validator
Packages that use Validator
Package
Description
-
Uses of Validator in com.vaadin.flow.component.checkbox
Methods in com.vaadin.flow.component.checkbox that return ValidatorModifier and TypeMethodDescriptionCheckbox.getDefaultValidator()
CheckboxGroup.getDefaultValidator()
-
Uses of Validator in com.vaadin.flow.component.combobox
Methods in com.vaadin.flow.component.combobox that return Validator -
Uses of Validator in com.vaadin.flow.component.datepicker
Methods in com.vaadin.flow.component.datepicker that return Validator -
Uses of Validator in com.vaadin.flow.component.datetimepicker
Methods in com.vaadin.flow.component.datetimepicker that return Validator -
Uses of Validator in com.vaadin.flow.component.radiobutton
Methods in com.vaadin.flow.component.radiobutton that return Validator -
Uses of Validator in com.vaadin.flow.component.select
Methods in com.vaadin.flow.component.select that return Validator -
Uses of Validator in com.vaadin.flow.component.textfield
Methods in com.vaadin.flow.component.textfield that return ValidatorModifier and TypeMethodDescriptionAbstractNumberField.getDefaultValidator()
BigDecimalField.getDefaultValidator()
EmailField.getDefaultValidator()
PasswordField.getDefaultValidator()
TextArea.getDefaultValidator()
TextField.getDefaultValidator()
-
Uses of Validator in com.vaadin.flow.component.timepicker
Methods in com.vaadin.flow.component.timepicker that return Validator -
Uses of Validator in com.vaadin.flow.data.binder
Methods in com.vaadin.flow.data.binder that return ValidatorModifier and TypeMethodDescriptionstatic <T> Validator<T>
Validator.alwaysPass()
Returns a validator that passes any value.static <T> Validator<T>
Validator.from
(SerializablePredicate<T> guard, ErrorMessageProvider errorMessageProvider) Builds a validator out of a conditional function and an error message provider.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) Builds a validator out of a conditional function and an error message.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.HasValidator.getDefaultValidator()
Returns a validator that checks the state of the Value.Methods in com.vaadin.flow.data.binder with parameters of type ValidatorModifier and TypeMethodDescriptionBinder.BindingBuilder.asRequired
(Validator<TARGET> customRequiredValidator) Sets the field to be required and delegates the required check to a custom validator.Binder.BindingBuilderImpl.asRequired
(Validator<TARGET> customRequiredValidator) Binder.BindingBuilder.withValidator
(Validator<? super TARGET> validator) Adds a validator to this binding.Binder.BindingBuilderImpl.withValidator
(Validator<? super TARGET> validator) Binder.withValidator
(Validator<? super BEAN> validator) Adds an bean level validator. -
Uses of Validator in com.vaadin.flow.data.validator
Classes in com.vaadin.flow.data.validator that implement ValidatorModifier and TypeClassDescriptionclass
An abstract base class for typed validators.class
AValidator
using the JSR-303 (jakarta.validation) annotation-based bean validation mechanism.class
Validator for validating that anBigDecimal
is inside a given range.class
Validator for validating that anBigInteger
is inside a given range.class
Validator for validating that anByte
is inside a given range.class
Validator for validating that aLocalDate
is inside a given range.class
Validator for validating that aLocalDateTime
is inside a given range.class
Validator for validating that aDouble
is inside a given range.class
A string validator for e-mail addresses.class
Validator for validating that aFloat
is inside a given range.class
Validator for validating that anInteger
is inside a given range.class
Validator for validating that anLong
is inside a given range.class
Verifies that a value is within the given range.class
A string validator comparing the string against a Java regular expression.class
Validator for validating that anShort
is inside a given range.class
Verifies that the length of a string is within the given range.