public boolean validate() { boolean result = true; if (validationActive) { if (validator != null) { result = validator.validate(value); } int evtId = ValidationEvent.VALIDATED; ValidationEvent evt = new ValidationEvent(this, evtId, validator, result); evt.processEvent(); } return result; }
public void removeValidationListener(final ValidationListener listener) { ValidationEvent.removeListener(this, listener); }
public void addValidationListener(final ValidationListener listener) { ValidationEvent.addListener(this, listener); }