org.biojava.spice.gui
Class MenuCreator

java.lang.Object
  extended byorg.biojava.spice.gui.MenuCreator

public class MenuCreator
extends Object


Constructor Summary
MenuCreator()
           
 
Method Summary
static JMenu createAlignmentMenu(SpiceMenuListener ml)
           
static JMenu createDisplayMenu(ActionListener ml)
          create a JMenu to be used for interacting with the structure Panel.
static JMenu createFileMenu(SpiceMenuListener ml)
           
static JMenu createHelpMenu(SpiceMenuListener ml)
           
static ImageIcon createImageIcon(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuCreator

public MenuCreator()
Method Detail

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