|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.townleyenterprises.validator.ValidationEvent
This event is the basis for all of the validation failure events. It provides a way to consume the event and detect if the failure has already been corrected in addition to a link to the form holding the data to be validated.
Field Summary |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
ValidationEvent(java.lang.Object sender,
Form form)
The constructor initializes the instance with the event sender. |
Method Summary | |
void |
consume()
Consume the event and mark it so that other listeners in the chain can detect if they have to do anything. |
Form |
getForm()
Retrieve a reference to the form. |
boolean |
isConsumed()
Check if the event has been consumed. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ValidationEvent(java.lang.Object sender, Form form)
sender
- the validator instance which caused the
failureMethod Detail |
public void consume()
public boolean isConsumed()
public Form getForm()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |