Uses of Interface
com.vaadin.data.Validator
-
Packages that use Validator Package Description com.vaadin.data Contains interfaces for the data layer, mainly for binding typed data and data collections to components, and for validating data.com.vaadin.data.validator com.vaadin.ui -
-
Uses of Validator in com.vaadin.data
Methods in com.vaadin.data that return types with arguments of type Validator Modifier and Type Method Description Collection<Validator>Validatable. getValidators()Returns a collection of all validators currently registered for the object.Methods in com.vaadin.data with parameters of type Validator Modifier and Type Method Description voidValidatable. addValidator(Validator validator)Adds a new validator for this object.voidValidatable. removeValidator(Validator validator)Removes a previously registered validator from the object. -
Uses of Validator in com.vaadin.data.validator
Classes in com.vaadin.data.validator that implement Validator Modifier and Type Class Description classAbstractStringValidatorValidator base class for validating strings.classAbstractValidator<T>AbstractValidatorimplementation that provides a basic Validator implementation except theAbstractValidator.isValidValue(Object)method.classBeanValidatorVaadinValidatorusing the JSR-303 (javax.validation) annotation-based bean validation.classBigDecimalRangeValidatorValidator for validating that anBigDecimalis inside a given range.classBigIntegerRangeValidatorValidator for validating that anBigIntegeris inside a given range.classByteRangeValidatorValidator for validating that anByteis inside a given range.classCompositeValidatorTheCompositeValidatorallows you to chain (compose) many validators to validate one field.classDateRangeValidatorValidator for validating that a Date is inside a given range.classDoubleRangeValidatorValidator for validating that aDoubleis inside a given range.classDoubleValidatorDeprecated.As of 7.0.classEmailValidatorString validator for e-mail addresses.classFloatRangeValidatorValidator for validating that aFloatis inside a given range.classIntegerRangeValidatorValidator for validating that anIntegeris inside a given range.classIntegerValidatorDeprecated.As of 7.0.classLongRangeValidatorValidator for validating that anLongis inside a given range.classNullValidatorThis validator is used for validating properties that do or do not allow null values.classRangeValidator<T extends Comparable>An base implementation for validating any objects that implementComparable.classRegexpValidatorString validator comparing the string against a Java regular expression.classShortRangeValidatorValidator for validating that anShortis inside a given range.classStringLengthValidatorThisStringLengthValidatoris used to validate the length of strings.Methods in com.vaadin.data.validator that return types with arguments of type Validator Modifier and Type Method Description Collection<Validator>CompositeValidator. getSubValidators(Class validatorType)Gets sub-validators by class.Methods in com.vaadin.data.validator with parameters of type Validator Modifier and Type Method Description voidCompositeValidator. addValidator(Validator validator)Adds validator to the interface.voidCompositeValidator. removeValidator(Validator validator)Removes a validator from the composite. -
Uses of Validator in com.vaadin.ui
Methods in com.vaadin.ui that return types with arguments of type Validator Modifier and Type Method Description Collection<Validator>AbstractField. getValidators()Gets the validators of the field.Methods in com.vaadin.ui with parameters of type Validator Modifier and Type Method Description voidAbstractField. addValidator(Validator validator)Adds a new validator for the field's value.voidForm. addValidator(Validator validator)Deprecated.Adding validators directly to form is not supported.voidAbstractField. removeValidator(Validator validator)Removes the validator from the field.
-