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 the FormController
class. It provides access to
the FormController
instance which is the source of this event.
source
Constructor and Description |
---|
FormControllerEvent(FormController source)
Creates a new instance of
FormControllerEvent and initializes it
with the FormController which is the source of this event. |
Modifier and Type | Method and Description |
---|---|
FormController |
getFormController()
Returns the
FormController which generated this event. |
getSource, toString
public FormControllerEvent(FormController source)
FormControllerEvent
and initializes it
with the FormController
which is the source of this event.source
- the source FormController
(must not be null)IllegalArgumentException
- if the controller is nullpublic FormController getFormController()
FormController
which generated this event.FormController
which is the source of this eventCopyright © 2016 The JGUIraffe Team. All rights reserved.