com.vaadin.data.validator.

Class IntegerValidator

    • Constructor Detail

      • IntegerValidator

        @Deprecated
        public IntegerValidator(String errorMessage)

        Deprecated. As of 7.0. Use an Integer converter on the field instead and/or use an IntegerRangeValidator for validating that the value is inside a given range.

        Creates a validator for checking that a string can be parsed as an integer.

        Parameters:

        errorMessage - the message to display in case the value does not validate.