|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FormValidationControl
Allows control over validation concerns of a Form component.
Method Summary | |
---|---|
void |
clearErrors()
Invokes ValidationTracker.clear() . |
boolean |
getHasErrors()
Returns true if the form's ValidationTracker contains any errors . |
boolean |
isValid()
Returns true if the form's ValidationTracker does not contain any errors . |
void |
recordError(Field field,
String errorMessage)
A convienience for invoking ValidationTracker.recordError(Field, String) . |
void |
recordError(String errorMessage)
A convienience for invoking ValidationTracker.recordError(String) . |
Method Detail |
---|
void recordError(String errorMessage)
ValidationTracker.recordError(String)
.
void recordError(Field field, String errorMessage)
ValidationTracker.recordError(Field, String)
.
boolean getHasErrors()
ValidationTracker
contains any errors
.
boolean isValid()
ValidationTracker
does not contain any errors
.
void clearErrors()
ValidationTracker.clear()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |