Package gaiasky.util.validator
Class IntValidator
- java.lang.Object
-
- gaiasky.util.validator.CallbackValidator
-
- gaiasky.util.validator.IntValidator
-
- All Implemented Interfaces:
IValidator
public class IntValidator extends CallbackValidator
-
-
Constructor Summary
Constructors Constructor Description IntValidator()
IntValidator(int min, int max)
IntValidator(IValidator parent)
IntValidator(IValidator parent, int min, int max)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMax()
int
getMin()
protected boolean
validateLocal(java.lang.String value)
-
Methods inherited from class gaiasky.util.validator.CallbackValidator
getParent, runIsInvalidCallback, runIsValidCallback, setIsInvalidCallback, setIsValidCallback, validate
-
-
-
-
Constructor Detail
-
IntValidator
public IntValidator()
-
IntValidator
public IntValidator(IValidator parent)
-
IntValidator
public IntValidator(int min, int max)
-
IntValidator
public IntValidator(IValidator parent, int min, int max)
-
-
Method Detail
-
getMin
public int getMin()
-
getMax
public int getMax()
-
validateLocal
protected boolean validateLocal(java.lang.String value)
- Specified by:
validateLocal
in classCallbackValidator
-
-