Package jaxx.runtime
Interface JAXXValidator
public interface JAXXValidator
The contract of a validator-able object.
- Author:
- Tony Chemit - chemit@codelutin.com
-
Method Summary
Modifier and Type Method Description SwingValidator<?>getValidator(java.lang.String validatorId)Obtain a validator from his idjava.util.List<java.lang.String>getValidatorIds()voidregisterValidatorFields()Init the fields representation.
-
Method Details
-
getValidator
Obtain a validator from his id- Parameters:
validatorId- validator id- Returns:
- the associated validator, or
nullif 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 methodSwingValidator.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
-