|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.validation.AbstractValidator<B>
net.sf.doolin.gui.validation.ChainedValidator<B>
B - Type of object for the viewpublic class ChainedValidator<B>
Chain of validators.
| Constructor Summary | |
|---|---|
ChainedValidator()
|
|
| Method Summary | |
|---|---|
List<GUIValidator<B>> |
getValidators()
Gets the validators. |
void |
setValidators(List<GUIValidator<B>> validators)
Sets the validators. |
void |
subscribe(SubscriberValidator subscriberValidator,
B model,
Runnable runnable)
Subscribes the validator to the model changes. |
protected void |
validate(GUIValidation validationResult,
B model)
Validate. |
| Methods inherited from class net.sf.doolin.gui.validation.AbstractValidator |
|---|
getMsgMandatoryKey, isNotBlank, isNotNull, setMsgMandatoryKey, validate, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChainedValidator()
| Method Detail |
|---|
public List<GUIValidator<B>> getValidators()
public void setValidators(List<GUIValidator<B>> validators)
validators - the new validators
protected void validate(GUIValidation validationResult,
B model)
AbstractValidator
validate in class AbstractValidator<B>validationResult - the validation resultmodel - the model to validate
public void subscribe(SubscriberValidator subscriberValidator,
B model,
Runnable runnable)
GUIValidator
subscriberValidator - Subscription validatormodel - Model to subscribe torunnable - Task to subscribe
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||