Package org.apache.pivot.wtk.validation
Class IntValidator
- java.lang.Object
-
- org.apache.pivot.wtk.validation.FormattedValidator<java.text.NumberFormat>
-
- org.apache.pivot.wtk.validation.DecimalValidator
-
- org.apache.pivot.wtk.validation.IntValidator
-
- All Implemented Interfaces:
Validator
- Direct Known Subclasses:
IntRangeValidator
,LongRangeValidator
public class IntValidator extends DecimalValidator
A validator for an int value.Beware that usual math rules for native primitive types (and related approximations) are applied here.
- See Also:
BigIntegerValidator
-
-
Field Summary
-
Fields inherited from class org.apache.pivot.wtk.validation.FormattedValidator
format, locale
-
-
Constructor Summary
Constructors Constructor Description IntValidator()
IntValidator(java.util.Locale locale)
-
Method Summary
-
Methods inherited from class org.apache.pivot.wtk.validation.DecimalValidator
isAutoTrim, parseNumber, setAutoTrim, textToBigDecimal
-
Methods inherited from class org.apache.pivot.wtk.validation.FormattedValidator
isValid
-
-