Known Direct Subclasses
AccountEditor,
AmountEditor,
BigDecimalEditor,
BooleanEditor,
BooleanObjectEditor,
ByteEditor,
ByteObjectEditor,
DateEditor,
DateFormatEditor,
DoubleEditor,
DoubleObjectEditor,
EmailEditor,
FloatEditor,
FloatObjectEditor,
IntegerEditor,
and
10 others.
|
Known Indirect Subclasses
|
Class Overview
This is a useful base class for JavaBeans property editors whose main purpose is to provide validation of form input
parameters.
Overriding setAsText is sufficient. Do whatever validation you need and throw IllegalArgumentException if something
is wrong. If all is ok then set the protected attribute "value" to the converted value (may be a string).
Fields
Public Constructors
public
ValidationEditorSupport
()
Public Methods
This method is specified in the FastPropertyEditor interface and it is implemented here for convenience
public
abstract
void
setAsText
(String txt)
public
void
setValue
(Object val)