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.FormControllercan 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 theFormControllerclass. It provides access to theFormControllerinstance 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 ofFormControllerEventand initializes it with theFormControllerwhich is the source of this event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormControllergetFormController()Returns theFormControllerwhich generated this event.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
FormControllerEvent
public FormControllerEvent(FormController source)
Creates a new instance ofFormControllerEventand initializes it with theFormControllerwhich 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 theFormControllerwhich generated this event.- Returns:
- the
FormControllerwhich is the source of this event
-
-