Package gaiasky.util.validator
Class CallbackValidator
java.lang.Object
gaiasky.util.validator.CallbackValidator
- All Implemented Interfaces:
IValidator
- Direct Known Subclasses:
DirectoryNameValidator
,DoubleValidator
,ExistingLocationValidator
,FloatValidator
,FolderValidator
,IntValidator
,LengthValidator
,LongValidator
,RegexpValidator
,TextFieldComparatorValidator
-
Constructor Summary
ConstructorDescriptionCallbackValidator
(IValidator parent) CallbackValidator
(Runnable correctCallback, Runnable incorrectCallback) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
void
setIsInvalidCallback
(Runnable isInvalidCallback) void
setIsValidCallback
(Runnable isValidCallback) boolean
protected abstract boolean
validateLocal
(String value)
-
Constructor Details
-
CallbackValidator
public CallbackValidator() -
CallbackValidator
-
CallbackValidator
-
-
Method Details
-
setIsValidCallback
-
setIsInvalidCallback
-
runIsValidCallback
protected void runIsValidCallback() -
runIsInvalidCallback
protected void runIsInvalidCallback() -
getParent
-
validate
- Specified by:
validate
in interfaceIValidator
-
validateLocal
-