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 a
FormController
when a field in the controller's form is visited for
the first time.
source
Constructor and Description |
---|
FormControllerFieldStatusEvent(FormController controller,
String field)
Creates a new instance of
FormControllerFieldStatusEvent and
initializes it with the FormController that is the source of this
event and the name of the field affected by this event. |
Modifier and Type | Method and Description |
---|---|
String |
getFieldName()
Returns the name of the field whose status has changed.
|
getFormController
getSource, toString
public FormControllerFieldStatusEvent(FormController controller, String field)
FormControllerFieldStatusEvent
and
initializes it with the FormController
that is the source of this
event and the name of the field affected by this event.controller
- the FormController
(must not be null)field
- the name of the field whose status has changed (must not be
null)IllegalArgumentException
- if a required parameter is missingpublic String getFieldName()
Copyright © 2016 The JGUIraffe Team. All rights reserved.