|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
IValidatingTextField | Interface for a number of components that act as a normal
TextField component, but perform extra validation. |
IValidationDelegate | Interface used to communicate errors from an IValidatingTextField
component to some application-specific code. |
Class Summary | |
AbstractValidatingTextField | Base class for several classes that validate their input from the user. |
BaseValidationDelegate | Base implementation of the IValidationDelegate interface. |
DateField | Implements a special text field used for enterring dates. |
FieldLabel | Used to label an IValidatingTextField . |
IntegerField | A Form component that can be used to
create a text field that validates that the user
has entered an integer value (if required) and that the
value is within a particular range. |
NumericField | A Form component that can be used to
create a text field that validates that the user
has entered a numeric value (if required) and that the
value is within a particular range. |
ValidatingTextField | A Form component that can be used to
create a text field that validates that the user
has entered a value (if required) and that the
value has a known minimum length. |
ValidationConstraint | Defines an enumeration of different types of validation constraints that may be violated. |
ValidationDelegate | A simple implementation of IValidationDelegate that can be used
as a helper bean. |
Components and classes that provide specialized, validating text fields.
The interface IValidatingTextField
provides the general outline.
ValidatingTextField
,
a minimum length (after whitespace is stripped)
IntegerField
and
NumericField
,
a minimum and maximum value
DateField
, a minimum and maximum date
Since presenting errors to the user is completely specific to the application,
a second interface, IValidationDelegate
provides the bridge between these components and the
application they are being used in.
Fields can also have a FieldLabel
that reflects the state (normal or error)
of the field.
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |