java.awt.event.ActionListener
, java.util.EventListener
protected class MidiRouter.DisplayFrame.MenuHandler extends java.lang.Object implements java.awt.event.ActionListener
Constructor | Description |
---|---|
MenuHandler(javax.swing.JMenuBar menuBar) |
The constructor creates the items for the menu bar.
|
Modifier and Type | Method | Description |
---|---|---|
void |
actionPerformed(java.awt.event.ActionEvent ev) |
Actions to be taken when menu item is clicked.
|
public MenuHandler(javax.swing.JMenuBar menuBar)
menuBar
- JMenuBar object used for the framepublic void actionPerformed(java.awt.event.ActionEvent ev)
actionPerformed
in interface java.awt.event.ActionListener
ev
- Event created by clicking on menu itemCopyright © 2017. All rights reserved.