Uses of Interface
com.vaadin.data.Validator
-
Packages that use Validator Package Description com.vaadin.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 void
Validatable. addValidator(Validator validator)
Adds a new validator for this object.void
Validatable. 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 class
AbstractStringValidator
Validator base class for validating strings.class
AbstractValidator<T>
AbstractValidator
implementation that provides a basic Validator implementation except theAbstractValidator.isValidValue(Object)
method.class
BeanValidator
VaadinValidator
using the JSR-303 (javax.validation) annotation-based bean validation.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
CompositeValidator
TheCompositeValidator
allows you to chain (compose) many validators to validate one field.class
DateRangeValidator
Validator for validating that a Date is inside a given range.class
DoubleRangeValidator
Validator for validating that aDouble
is inside a given range.class
DoubleValidator
Deprecated.As of 7.0.class
EmailValidator
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
IntegerValidator
Deprecated.As of 7.0.class
LongRangeValidator
Validator for validating that anLong
is inside a given range.class
NullValidator
This validator is used for validating properties that do or do not allow null values.class
RangeValidator<T extends Comparable>
An base implementation for validating any objects that implementComparable
.class
RegexpValidator
String validator comparing the string against a Java regular expression.class
ShortRangeValidator
Validator for validating that anShort
is inside a given range.class
StringLengthValidator
ThisStringLengthValidator
is 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 void
CompositeValidator. addValidator(Validator validator)
Adds validator to the interface.void
CompositeValidator. 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 void
AbstractField. addValidator(Validator validator)
Adds a new validator for the field's value.void
Form. addValidator(Validator validator)
Deprecated.Adding validators directly to form is not supported.void
AbstractField. removeValidator(Validator validator)
Removes the validator from the field.
-