Package com.iizigo.validator
Interface ValidatorCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ValidatorCallback
Validator callback to perform specialized validation.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
validate(ControlValidator validator, java.lang.String text)
Called to validate a text based control.
Method Detail
validate
boolean validate(ControlValidator validator, java.lang.String text)
Called to validate a text based control. For failures, set the message/image in the validator.- Returns:
- true for success, false if control failed validation.