Package jaxx.runtime

Interface JAXXValidator


public interface JAXXValidator
The contract of a validator-able object.
Author:
Tony Chemit - chemit@codelutin.com
  • Method Details

    • getValidator

      SwingValidator<?> getValidator​(java.lang.String validatorId)
      Obtain a validator from his id
      Parameters:
      validatorId - validator id
      Returns:
      the associated validator, or null if not find
    • getValidatorIds

      java.util.List<java.lang.String> getValidatorIds()
      Returns:
      the list of ids of all registred validator
    • registerValidatorFields

      void registerValidatorFields()
      Init the fields representation. This method is generated and should be called each time the context name of a validator has changed, since when using method SwingValidator.setFieldRepresentation(String, JComponent) is invoked at init, if a field is not watched for the selected context, then after when changing context name, the field will not be notified of any changed...
      Since:
      2.2.1