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.alwaysFail(String errorMessage) Returns a validator that fails on any value.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.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 TypeClassDescriptionclassAn abstract base class for typed validators.classAValidatorusing the JSR-303 (jakarta.validation) annotation-based bean validation mechanism.classValidator for validating that anBigDecimalis inside a given range.classValidator for validating that anBigIntegeris inside a given range.classValidator for validating that anByteis inside a given range.classValidator for validating that aLocalDateis inside a given range.classValidator for validating that aLocalDateTimeis inside a given range.classValidator for validating that aDoubleis inside a given range.classA string validator for e-mail addresses.classValidator for validating that aFloatis inside a given range.classValidator for validating that anIntegeris inside a given range.classValidator for validating that anLongis inside a given range.classVerifies that a value is within the given range.classA string validator comparing the string against a Java regular expression.classValidator for validating that anShortis inside a given range.classVerifies that the length of a string is within the given range.