Uses of Interface
com.vaadin.flow.data.binder.Validator
-
-
Uses of Validator in com.vaadin.flow.component.datepicker
Methods in com.vaadin.flow.component.datepicker that return Validator Modifier and Type Method Description Validator<LocalDate>
DatePicker. getDefaultValidator()
-
Uses of Validator in com.vaadin.flow.component.datetimepicker
Methods in com.vaadin.flow.component.datetimepicker that return Validator Modifier and Type Method Description Validator<LocalDateTime>
DateTimePicker. getDefaultValidator()
-
Uses of Validator in com.vaadin.flow.component.textfield
Methods in com.vaadin.flow.component.textfield that return Validator Modifier and Type Method Description Validator<T>
AbstractNumberField. getDefaultValidator()
Validator<String>
EmailField. getDefaultValidator()
Validator<String>
PasswordField. getDefaultValidator()
Validator<String>
TextArea. getDefaultValidator()
Validator<String>
TextField. getDefaultValidator()
-
Uses of Validator in com.vaadin.flow.component.timepicker
Methods in com.vaadin.flow.component.timepicker that return Validator Modifier and Type Method Description Validator<LocalTime>
TimePicker. getDefaultValidator()
-
Uses of Validator in com.vaadin.flow.data.binder
Methods in com.vaadin.flow.data.binder that return Validator Modifier and Type Method Description static <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.default Validator<V>
HasValidator. getDefaultValidator()
Returns a validator that checks the state of the Value.Methods in com.vaadin.flow.data.binder with parameters of type Validator Modifier and Type Method Description Binder.BindingBuilder<BEAN,TARGET>
Binder.BindingBuilder. asRequired(Validator<TARGET> customRequiredValidator)
Sets the field to be required and delegates the required check to a custom validator.Binder.BindingBuilder<BEAN,TARGET>
Binder.BindingBuilderImpl. asRequired(Validator<TARGET> customRequiredValidator)
Binder.BindingBuilder<BEAN,TARGET>
Binder.BindingBuilder. withValidator(Validator<? super TARGET> validator)
Adds a validator to this binding.Binder.BindingBuilder<BEAN,TARGET>
Binder.BindingBuilderImpl. withValidator(Validator<? super TARGET> validator)
Binder<BEAN>
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 Validator Modifier and Type Class Description class
AbstractValidator<T>
An abstract base class for typed validators.class
BeanValidator
AValidator
using the JSR-303 (javax.validation) annotation-based bean validation mechanism.class
BigDecimalRangeValidator
Validator for validating that anBigDecimal
is inside a given range.class
BigIntegerRangeValidator
Validator for validating that anBigInteger
is inside a given range.class
ByteRangeValidator
Validator for validating that anByte
is inside a given range.class
DateRangeValidator
Validator for validating that aLocalDate
is inside a given range.class
DateTimeRangeValidator
Validator for validating that aLocalDateTime
is inside a given range.class
DoubleRangeValidator
Validator for validating that aDouble
is inside a given range.class
EmailValidator
A string validator for e-mail addresses.class
FloatRangeValidator
Validator for validating that aFloat
is inside a given range.class
IntegerRangeValidator
Validator for validating that anInteger
is inside a given range.class
LongRangeValidator
Validator for validating that anLong
is inside a given range.class
RangeValidator<T>
Verifies that a value is within the given range.class
RegexpValidator
A string validator comparing the string against a Java regular expression.class
ShortRangeValidator
Validator for validating that anShort
is inside a given range.class
StringLengthValidator
Verifies that the length of a string is within the given range.
-