Uses of Interface
com.vaadin.flow.data.binder.Validator
-
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
A
Validator
using the JSR-303 (jakarta.validation) annotation-based bean validation mechanism.class
Validator for validating that an
BigDecimal
is inside a given range.class
Validator for validating that an
BigInteger
is inside a given range.class
Validator for validating that an
Byte
is inside a given range.class
Validator for validating that a
LocalDate
is inside a given range.class
Validator for validating that a
LocalDateTime
is inside a given range.class
Validator for validating that a
Double
is inside a given range.class
A string validator for e-mail addresses.
class
Validator for validating that a
Float
is inside a given range.class
Validator for validating that an
Integer
is inside a given range.class
Validator for validating that an
Long
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 an
Short
is inside a given range.class
Verifies that the length of a string is within the given range.