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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThe listener method for receiving action events.voidThe 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:
actionPerformedin 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:
itemStateChangedin interfaceItemListener- Parameters:
e- an action event
-