| 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 |
| Modifier and Type | Method and Description |
|---|---|
Collection<Validator> |
Validatable.getValidators()
Returns a collection of all validators currently registered for the
object.
|
| Modifier and Type | Method and 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractStringValidator
Validator base class for validating strings.
|
class |
AbstractValidator<T>
Abstract
Validator implementation that
provides a basic Validator implementation except the
AbstractValidator.isValidValue(Object) method. |
class |
BeanValidator
Vaadin
Validator using the JSR-303 (javax.validation)
annotation-based bean validation. |
class |
BigDecimalRangeValidator
Validator for validating that an
BigDecimal is inside a given range. |
class |
BigIntegerRangeValidator
Validator for validating that an
BigInteger is inside a given range. |
class |
ByteRangeValidator
Validator for validating that an
Byte is inside a given range. |
class |
CompositeValidator
The
CompositeValidator 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 a
Double is inside a given range. |
class |
DoubleValidator
Deprecated.
As of 7.0. Use a
StringToDoubleConverter converter on the
field instead or bind the field to a Property of type
Double. |
class |
EmailValidator
String validator for e-mail addresses.
|
class |
FloatRangeValidator
Validator for validating that a
Float is inside a given range. |
class |
IntegerRangeValidator
Validator for validating that an
Integer is inside a given range. |
class |
IntegerValidator
Deprecated.
As of 7.0. Use a
StringToIntegerConverter converter on
the field instead or bind the field to a Property of type
Integer. |
class |
LongRangeValidator
Validator for validating that an
Long 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 implement
Comparable. |
class |
RegexpValidator
String validator comparing the string against a Java regular expression.
|
class |
ShortRangeValidator
Validator for validating that an
Short is inside a given range. |
class |
StringLengthValidator
This
StringLengthValidator is used to validate the length of
strings. |
| Modifier and Type | Method and Description |
|---|---|
Collection<Validator> |
CompositeValidator.getSubValidators(Class validatorType)
Gets sub-validators by class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CompositeValidator.addValidator(Validator validator)
Adds validator to the interface.
|
void |
CompositeValidator.removeValidator(Validator validator)
Removes a validator from the composite.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Validator> |
AbstractField.getValidators()
Gets the validators of the field.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Form.addValidator(Validator validator)
Deprecated.
Adding validators directly to form is not supported.
|
void |
AbstractField.addValidator(Validator validator)
Adds a new validator for the field's value.
|
void |
AbstractField.removeValidator(Validator validator)
Removes the validator from the field.
|
Copyright © 2016 Vaadin Ltd. All rights reserved.