Class FormControllerValidationEvent
- java.lang.Object
-
- java.util.EventObject
-
- net.sf.jguiraffe.gui.builder.event.BuilderEvent
-
- net.sf.jguiraffe.gui.builder.window.ctrl.FormControllerEvent
-
- net.sf.jguiraffe.gui.builder.window.ctrl.FormControllerValidationEvent
-
- All Implemented Interfaces:
Serializable
public class FormControllerValidationEvent extends FormControllerEvent
A specialized
FormControllerEventclass that is generated when the controller performs a validation.Events of this type are sent to
FormControllerValidationListenerobjects registered at aFormControllerwhenever a validation operation was performed.- Version:
- $Id: FormControllerValidationEvent.java 205 2012-01-29 18:29:57Z oheger $
- Author:
- Oliver Heger
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description FormControllerValidationEvent(FormController source, FormValidatorResults results)Creates a new instance ofFormControllerValidationEventand initializes it with theFormControllerthat is the source of this event and the results of the validation operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidatorResultsgetValidationResults()Returns theFormValidatorResultsobject with the results of the validation operation.-
Methods inherited from class net.sf.jguiraffe.gui.builder.window.ctrl.FormControllerEvent
getFormController
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
FormControllerValidationEvent
public FormControllerValidationEvent(FormController source, FormValidatorResults results)
Creates a new instance ofFormControllerValidationEventand initializes it with theFormControllerthat is the source of this event and the results of the validation operation.- Parameters:
source- the sourceFormController(must not be null)results- the results of the validation operation (must not be null)- Throws:
IllegalArgumentException- if a required parameter is missing
-
-
Method Detail
-
getValidationResults
public FormValidatorResults getValidationResults()
Returns theFormValidatorResultsobject with the results of the validation operation.- Returns:
- the
FormValidatorResultsobject
-
-