Interface FormControllerValidationListener

  • All Superinterfaces:
    EventListener
    All Known Implementing Classes:
    ColorFieldMarker, ToolTipFieldMarker

    public interface FormControllerValidationListener
    extends EventListener

    Definition of an interface to be implemented by objects that are interested in validation operations performed by a FormController.

    Each time a FormController's FormController.validate() method is called, event listeners of this type are notified. This gives them a chance to react on validation results, e.g. UI components containing invalid data can be marked, or validation messages can be displayed. This event listener interface is just a generic way of participating in the validation process of a FormController.

    Version:
    $Id: FormControllerValidationListener.java 205 2012-01-29 18:29:57Z oheger $
    Author:
    Oliver Heger
    • Method Detail

      • validationPerformed

        void validationPerformed​(FormControllerValidationEvent event)
        Notifies this event listener that a validation operation was performed. All information available about this operation is contained in the passed in event object. This method is directly called after the validation has finished - in the same thread (which is usually the event dispatch thread).
        Parameters:
        event - the event object with information about the validation