org.biojava.spice.gui
Class MenuCreator
java.lang.Object
org.biojava.spice.gui.MenuCreator
- public class MenuCreator
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MenuCreator
public MenuCreator()
createAlignmentMenu
public static JMenu createAlignmentMenu(SpiceMenuListener ml)
createImageIcon
public static ImageIcon createImageIcon(String name)
createHelpMenu
public static JMenu createHelpMenu(SpiceMenuListener ml)
createFileMenu
public static JMenu createFileMenu(SpiceMenuListener ml)
createDisplayMenu
public static JMenu createDisplayMenu(ActionListener ml)
- create a JMenu to be used for interacting with the structure Panel.
requires an ActionListener to be called when one of the Menus is being used.
- Parameters:
ml - ActionListener
- Returns:
- JMenu a menu providing the Display menu