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 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.