public class FormControllerFormEvent extends FormControllerEvent
A specialized FormControllerEvent
class for events related to the
form associated with a FormController
.
When the form associated with a FormController
is closed the
controller fires an event of this type. From the properties of this event
listeners can find out whether the form was committed (e.g. the OK button was
clicked) or canceled. A listener could then do something with the data
entered by the user. For instance, if the form was committed, a listener
could save the data somewhere.
Modifier and Type | Class and Description |
---|---|
static class |
FormControllerFormEvent.Type
An enumeration class defining the possible types of
FormControllerFormEvent events. |
source
Constructor and Description |
---|
FormControllerFormEvent(FormController ctrl,
FormControllerFormEvent.Type t)
Creates a new instance of
FormControllerFormEvent and initializes
it. |
Modifier and Type | Method and Description |
---|---|
FormControllerFormEvent.Type |
getType()
Returns the type of this event.
|
getFormController
getSource, toString
public FormControllerFormEvent(FormController ctrl, FormControllerFormEvent.Type t)
FormControllerFormEvent
and initializes
it.ctrl
- the FormController
which fired this eventt
- the type the eventpublic FormControllerFormEvent.Type getType()
Copyright © 2016 The JGUIraffe Team. All rights reserved.