@Deprecated public class FloatRangeValidator extends RangeValidator<Float>
Float is inside a given range.Validator.EmptyValueException, Validator.InvalidValueException| Constructor and Description |
|---|
FloatRangeValidator(String errorMessage,
Float minValue,
Float maxValue)
Deprecated.
Creates a validator for checking that an Float is within a given range.
|
getMaxValue, getMinValue, getType, isMaxValueIncluded, isMinValueIncluded, isValidValue, setMaxValue, setMaxValueIncluded, setMinValue, setMinValueIncludedgetErrorMessage, isValid, isValidType, setErrorMessage, validatepublic FloatRangeValidator(String errorMessage, Float minValue, Float maxValue)
RangeValidator.setMinValueIncluded(boolean) or
RangeValidator.setMaxValueIncluded(boolean) to change it.errorMessage - the message to display in case the value does not validate.minValue - The minimum value to accept or null for no limitmaxValue - The maximum value to accept or null for no limitCopyright © 2019 Vaadin Ltd. All rights reserved.