Class FormControllerFormEvent

  • All Implemented Interfaces:
    Serializable

    public class FormControllerFormEvent
    extends FormControllerEvent

    A specialized FormControllerEvent class for events related to the form associated with a FormController.

    When the form associated with a FormController is closed the controller fires an event of this type. From the properties of this event listeners can find out whether the form was committed (e.g. the OK button was clicked) or canceled. A listener could then do something with the data entered by the user. For instance, if the form was committed, a listener could save the data somewhere.

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

      • FormControllerFormEvent

        public FormControllerFormEvent​(FormController ctrl,
                                       FormControllerFormEvent.Type t)
        Creates a new instance of FormControllerFormEvent and initializes it.
        Parameters:
        ctrl - the FormController which fired this event
        t - the type the event