public class CustomMenuBar
extends java.lang.Object
implements java.awt.event.ActionListener
Constructor and Description |
---|
CustomMenuBar(ResultsViewer rsGUI)
Constructor of menu bar.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent object)
Method to handle item selection in menu bar.
|
javax.swing.JMenuBar |
getMenuBar()
Method to get the menu bar.
|
void |
setMenuBar(javax.swing.JMenuBar menuBar)
Method to overwrite the menu bar.
|
public CustomMenuBar(ResultsViewer rsGUI) throws java.net.MalformedURLException
rsGUI
- Parental ResultsViewer instance.java.net.MalformedURLException
public javax.swing.JMenuBar getMenuBar()
public void setMenuBar(javax.swing.JMenuBar menuBar)
menuBar
- A menu bar instance.public void actionPerformed(java.awt.event.ActionEvent object)
actionPerformed
in interface java.awt.event.ActionListener