java.awt.event.ActionListener
, java.util.EventListener
protected class MidiRouter.MidiMenuBar extends java.lang.Object implements java.awt.event.ActionListener
Modifier and Type | Field | Description |
---|---|---|
(package private) javax.swing.JMenuBar |
menuBar |
This is the menu bar for the application.
|
(package private) javax.swing.JMenuItem |
toggleLog |
Constructor | Description |
---|---|
MidiMenuBar(javax.swing.JMenuBar value) |
Constructor populates Java application menu bar.
|
Modifier and Type | Method | Description |
---|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
Listener for menu bar.
|
javax.swing.JMenuItem toggleLog
javax.swing.JMenuBar menuBar
public MidiMenuBar(javax.swing.JMenuBar value)
value
- JMenuBar structure belonging to MidiRouter.frame
.public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- action transmitted from clicking menu itemCopyright © 2017. All rights reserved.