Interface FormControllerFieldStatusListener
-
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
ColorFieldMarker
public interface FormControllerFieldStatusListener extends EventListener
A specialized event listener interface to be implemented by objects that are interested in status updates of form fields.
Event listeners of this type are notified by a
FormController
when the visited state of a form field changes, i.e. when the user leaves a form field for the first time.The visited state of form fields may be interesting for objects that display validation results. If the data contained in a field is invalid, it may be useful to distinguish whether the field has already been visited or not. So, giving the user feedback about validation operations is the primary use case for this interface.
- Version:
- $Id: FormControllerFieldStatusListener.java 205 2012-01-29 18:29:57Z oheger $
- Author:
- Oliver Heger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
fieldStatusChanged(FormControllerFieldStatusEvent event)
Notifies this event listener that the status of a form field has changed.
-
-
-
Method Detail
-
fieldStatusChanged
void fieldStatusChanged(FormControllerFieldStatusEvent event)
Notifies this event listener that the status of a form field has changed. All information available about this change can be retrieved from the passed in event object.- Parameters:
event
- the event
-
-