com.townleyenterprises.validator
Class FieldSetValidationEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.townleyenterprises.validator.ValidationEvent
          extended bycom.townleyenterprises.validator.FieldSetValidationEvent
All Implemented Interfaces:
java.io.Serializable

public class FieldSetValidationEvent
extends ValidationEvent

This event is fired whenever a field set validation has failed. It is intended to provide enough information to allow the listener to react to the validation failure and correct it if possible.

Since:
3.0
Version:
$Id: FieldSetValidationEvent.java,v 1.1 2004/07/28 10:13:40 atownley Exp $
Author:
Andrew S. Townley
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FieldSetValidationEvent(java.lang.Object sender, Form form, java.util.Map fields)
          The constructor initializes the instance with all the relevant failure information.
 
Method Summary
 java.util.Map getFields()
           
 
Methods inherited from class com.townleyenterprises.validator.ValidationEvent
consume, getForm, isConsumed
 
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

FieldSetValidationEvent

public FieldSetValidationEvent(java.lang.Object sender,
                               Form form,
                               java.util.Map fields)
The constructor initializes the instance with all the relevant failure information.

Parameters:
sender - the validator instance which caused the failure
form - the form instance containing the field
fields - the map containg the field names and values
Method Detail

getFields

public java.util.Map getFields()


Copyright © 2002-2004, Andrew S. Townley and Townley Enterprises. All Rights Reserved.
This project is hosted on http://te-code.sourceforge.net.