Class BuilderEvent
- java.lang.Object
-
- java.util.EventObject
-
- net.sf.jguiraffe.gui.builder.event.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 classEventObject
. 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
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description BuilderEvent(Object source)
Creates a new instance ofBuilderEvent
and initializes it.
-
-
-
Constructor Detail
-
BuilderEvent
public BuilderEvent(Object source)
Creates a new instance ofBuilderEvent
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
-
-