|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FormValidator<T>
used for Form dialogs or frames that edit data.
Form| Method Summary | |
|---|---|
T |
commitFormAction(Component formComponent)
This method processes/stores all relevant information from the form and returns the object that was committed. |
void |
validateForm(Component formComponent)
validates the given form by checking it for consistency. |
| Method Detail |
|---|
void validateForm(Component formComponent)
throws FormValidationWarning,
IOException,
IllegalArgumentException
formComponent - the component that contains the fields to be validated
FormValidationWarning - if any editable part of the form is inconsistent
IOException - if some resource could not be loaded to fulfill the required validation
IllegalArgumentException - if this validator doesn't accept the given formComponent
T commitFormAction(Component formComponent)
throws IllegalArgumentException,
Exception
formComponent - the component that contains the fields to be submitted for action
Exception - if something prevented the successful processing of the form
IllegalArgumentException - if this validator doesn't accept the given formComponent
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||