| java.lang.Object java.util.EventObject com.jidesoft.validation.ValidationObject
All known Subclasses: com.jidesoft.validation.TableValidationObject,
ValidationObject | public class ValidationObject extends EventObject (Code) | | ValidationObject is an object containing the information that needed by Validator.
The base class has three things - source, new value and old value.
The source is the object who has the Validator. In the case of cell
editor, cell editor will be the source. In the case of table, source will be
the table.
Normally ValidationObject are accompanied by the old and new value.
If the new value is a primitive
type (such as int or boolean) it must be wrapped as the
corresponding java.lang.* Object type (such as Integer or Boolean).
Null values may be provided for the old and the new values if their
true values are not known.
Users can extend this class to create their own ValidationObject to provide
additional information that needed by Validator. For example, TableValidationObject
extends ValidationObject to add row and column information.
|
ValidationObject | public ValidationObject(Object source, Object oldValue, Object newValue)(Code) | | Constructs a new ValidationObject .
Parameters: source - The source that sends this ValidationObject. Parameters: oldValue - The old value. Parameters: newValue - The new value. |
getNewValue | public Object getNewValue()(Code) | | Sets the new value, expressed as an Object.
The new value, expressed as an Object. |
getOldValue | public Object getOldValue()(Code) | | Gets the old value, expressed as an Object.
The old value, expressed as an Object. |
|
|