Package gaiasky.util.validator
Class FloatValidator
java.lang.Object
gaiasky.util.validator.CallbackValidator
gaiasky.util.validator.FloatValidator
- All Implemented Interfaces:
IValidator
public class FloatValidator extends CallbackValidator
-
Constructor Summary
Constructors Constructor Description FloatValidator(float min, float max)
FloatValidator(IValidator parent, float min, float max)
-
Method Summary
Modifier and Type Method Description float
getMax()
float
getMin()
protected boolean
validateLocal(java.lang.String value)
Methods inherited from class gaiasky.util.validator.CallbackValidator
getParent, runIsInvalidCallback, runIsValidCallback, setIsInvalidCallback, setIsValidCallback, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FloatValidator
public FloatValidator(float min, float max) -
FloatValidator
-
-
Method Details
-
getMin
public float getMin() -
getMax
public float getMax() -
validateLocal
protected boolean validateLocal(java.lang.String value)- Specified by:
validateLocal
in classCallbackValidator
-