Java com.vaadin.data.validator StringLengthValidator fields, constructors, methods, implement or subclass

Example usage for Java com.vaadin.data.validator StringLengthValidator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.vaadin.data.validator StringLengthValidator.

The text is from its open source code.

Subclass

com.vaadin.data.validator.StringLengthValidator has subclasses.
Click this link to see all its subclasses.

Constructor

StringLengthValidator(String errorMessage, Integer minLength, Integer maxLength)
Creates a new StringLengthValidator with a given error message and minimum and maximum length limits.

Method

voidsetMaxLength(Integer maxLength)
Sets the maximum permissible length of the string.
voidsetMinLength(Integer minLength)
Sets the minimum permissible length.