Package unifeat.gui
Class MainPanel.EventHandler
java.lang.Object
unifeat.gui.MainPanel.EventHandler
- All Implemented Interfaces:
ActionListener
,ItemListener
,EventListener
- Enclosing class:
MainPanel
The event handler class for handling action events.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
The listener method for receiving action events.void
The listener method for receiving item events.
-
Constructor Details
-
EventHandler
EventHandler()
-
-
Method Details
-
actionPerformed
The listener method for receiving action events. Invoked when an action occurs.- Specified by:
actionPerformed
in interfaceActionListener
- Parameters:
e
- an action event
-
itemStateChanged
The listener method for receiving item events. Invoked when an item has been selected or deselected by the user.- Specified by:
itemStateChanged
in interfaceItemListener
- Parameters:
e
- an action event
-