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

    Modifier and Type
    Method
    Description
    boolean
    validate(ControlValidator validator, String text)
    Called to validate a text based control.
  • Method Details

    • validate

      boolean validate(ControlValidator validator, 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.