Example usage for Java com.vaadin.data.validator StringLengthValidator fields, constructors, methods, implement or subclass
The text is from its open source code.
StringLengthValidator(String errorMessage, Integer minLength, Integer maxLength) Creates a new StringLengthValidator with a given error message and minimum and maximum length limits. |
void | setMaxLength(Integer maxLength) Sets the maximum permissible length of the string. |
void | setMinLength(Integer minLength) Sets the minimum permissible length. |