Class FormControllerFieldStatusEvent
- java.lang.Object
-
- java.util.EventObject
-
- net.sf.jguiraffe.gui.builder.event.BuilderEvent
-
- net.sf.jguiraffe.gui.builder.window.ctrl.FormControllerEvent
-
- net.sf.jguiraffe.gui.builder.window.ctrl.FormControllerFieldStatusEvent
-
- All Implemented Interfaces:
Serializable
public class FormControllerFieldStatusEvent extends FormControllerEvent
A specialized
FormControllerEvent
class that is generated whenever a form field changes its visited status.Event objects of this type are sent to
FormControllerFieldStatusListener
objects registered at aFormController
when a field in the controller's form is visited for the first time.- Version:
- $Id: FormControllerFieldStatusEvent.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 FormControllerFieldStatusEvent(FormController controller, String field)
Creates a new instance ofFormControllerFieldStatusEvent
and initializes it with theFormController
that is the source of this event and the name of the field affected by this event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFieldName()
Returns the name of the field whose status has changed.-
Methods inherited from class net.sf.jguiraffe.gui.builder.window.ctrl.FormControllerEvent
getFormController
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
FormControllerFieldStatusEvent
public FormControllerFieldStatusEvent(FormController controller, String field)
Creates a new instance ofFormControllerFieldStatusEvent
and initializes it with theFormController
that is the source of this event and the name of the field affected by this event.- Parameters:
controller
- theFormController
(must not be null)field
- the name of the field whose status has changed (must not be null)- Throws:
IllegalArgumentException
- if a required parameter is missing
-
-
Method Detail
-
getFieldName
public String getFieldName()
Returns the name of the field whose status has changed.- Returns:
- the name of the field affected by this event
-
-