Class BuilderEvent

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    FormControllerEvent, FormEvent, WindowEvent

    public class BuilderEvent
    extends EventObject

    The base class of events used in the form and form builder framework.

    The form framework provides an abstraction from specific GUI libraries like Swing or SWT. This abstraction includes the event handling mechanism, too. To achieve this, generic event classes are defined, to which library specific event types have to be converted. This class is the base class for these generic event classes. There are also corresponding event listener interfaces.

    The common denominator of all event classes in the builder framework is the source property (which is already inherited from the base class EventObject. Here the original, library specific event object should be set allowing application code to access platform specific information if necessary.

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

      • BuilderEvent

        public BuilderEvent​(Object source)
        Creates a new instance of BuilderEvent and initializes it. The event's source is passed, which should be the the platform specific event object that is wrapped by this generic object instance.
        Parameters:
        source - the source of this event