Package gaiasky.util.validator
Class TextFieldComparatorValidator
java.lang.Object
gaiasky.util.validator.CallbackValidator
gaiasky.util.validator.TextFieldComparatorValidator
- All Implemented Interfaces:
IValidator
A validator that compares the current value to the value of the
given text fields (lessThan and greaterThan). It assumes all values are floats.
-
Constructor Summary
ConstructorDescriptionTextFieldComparatorValidator
(IValidator parent, OwnTextField[] lessThan, OwnTextField[] greaterThan) -
Method Summary
Methods inherited from class gaiasky.util.validator.CallbackValidator
getParent, runIsInvalidCallback, runIsValidCallback, setIsInvalidCallback, setIsValidCallback, validate
-
Constructor Details
-
TextFieldComparatorValidator
public TextFieldComparatorValidator(IValidator parent, OwnTextField[] lessThan, OwnTextField[] greaterThan)
-
-
Method Details
-
validateLocal
- Specified by:
validateLocal
in classCallbackValidator
-