class EventLogManagerController.FilterPanelActionListener extends Object implements ActionListener
ActionListener
for defining the
actionPerformed(ActionEvent)
method and creating a specific listener to use on the JButton
buttons of the FilterPanel
panel.
The method gets the JButton
that generates the event, reads its action
command and implements the linked action.ActionListener
,
JButton
Constructor and Description |
---|
FilterPanelActionListener() |
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 its action command and implements the
linked action.
Specifically, the method gets from the JButton
its parent
component, that is a FilterPanel
, reads from this panel the
values of its form, and depending on the JButton
action command,
it decides how to manage these values and what action to call.
actionPerformed
in interface ActionListener
e
- the action event generated by a componentJButton
,
ActionEvent
,
FilterPanel