Package org.nuiton.jaxx.validator
Interface JAXXValidator
-
public interface JAXXValidatorThe contract of a validator-able object.- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SwingValidator<?>getValidator(String validatorId)Obtain a validator from his idList<String>getValidatorIds()voidregisterValidatorFields()Init the fields representation.
-
-
-
Method Detail
-
getValidator
SwingValidator<?> getValidator(String validatorId)
Obtain a validator from his id- Parameters:
validatorId- validator id- Returns:
- the associated validator, or
nullif not find
-
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
-
-