Class FormControllerValidationEvent

  • All Implemented Interfaces:
    Serializable

    public class FormControllerValidationEvent
    extends FormControllerEvent

    A specialized FormControllerEvent class that is generated when the controller performs a validation.

    Events of this type are sent to FormControllerValidationListener objects registered at a FormController whenever a validation operation was performed.

    Version:
    $Id: FormControllerValidationEvent.java 205 2012-01-29 18:29:57Z oheger $
    Author:
    Oliver Heger
    See Also:
    Serialized Form
    • Constructor Detail

      • FormControllerValidationEvent

        public FormControllerValidationEvent​(FormController source,
                                             FormValidatorResults results)
        Creates a new instance of FormControllerValidationEvent and initializes it with the FormController that is the source of this event and the results of the validation operation.
        Parameters:
        source - the source FormController (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 the FormValidatorResults object with the results of the validation operation.
        Returns:
        the FormValidatorResults object