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.
Validator callback to perform specialized validation.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionboolean
validate
(ControlValidator validator, String text) Called to validate a text based control.
Method Details
validate
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.