Class FormControllerEvent
- java.lang.Object
-
- java.util.EventObject
-
- net.sf.jguiraffe.gui.builder.event.BuilderEvent
-
- net.sf.jguiraffe.gui.builder.window.ctrl.FormControllerEvent
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FormControllerFieldStatusEvent
,FormControllerFormEvent
,FormControllerValidationEvent
public class FormControllerEvent extends BuilderEvent
A base class for events generated by
FormController
.FormController
can fire several types of events, e.g. when a validation is performed. Interested objects can register themselves as listeners for these events. This class is the common base class for all events generated by theFormController
class. It provides access to theFormController
instance which is the source of this event.- Version:
- $Id: FormControllerEvent.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 FormControllerEvent(FormController source)
Creates a new instance ofFormControllerEvent
and initializes it with theFormController
which is the source of this event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormController
getFormController()
Returns theFormController
which generated this event.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
FormControllerEvent
public FormControllerEvent(FormController source)
Creates a new instance ofFormControllerEvent
and initializes it with theFormController
which is the source of this event.- Parameters:
source
- the sourceFormController
(must not be null)- Throws:
IllegalArgumentException
- if the controller is null
-
-
Method Detail
-
getFormController
public FormController getFormController()
Returns theFormController
which generated this event.- Returns:
- the
FormController
which is the source of this event
-
-