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