class EventLogManagerController.GenerateEventLogActionListener extends Object implements ActionListener
ActionListener
for defining the
actionPerformed(ActionEvent)
method and creating a specific listener to use on the JButton
of all the dialogs that are created to manage the generation of event log from expressions.
The method gets the JButton
that generates the event, reads a specific property
to get the reference to the connected JTextField
where resides the expression
and at the end calls the EventLogManagerController.generateEventLog(String)
method to implement the linked action.
ActionListener
,
JButton
Constructor and Description |
---|
GenerateEventLogActionListener() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Invoked when an action occurs.
|
public void actionPerformed(ActionEvent e)
JButton
that generates the event, reads a specific property to get the reference
to the connected JTextField
where resides the expression and
at the end calls the EventLogManagerController.generateEventLog(String)
method to implement
the linked action.actionPerformed
in interface ActionListener
e
- the action event generated by a componentJButton
,
ActionEvent