public class MenuCreator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ALIGNMENT_PANEL |
static String |
EQR_COLOR |
static String |
FATCAT_BLOCK |
static String |
FATCAT_TEXT |
static String |
LOAD_ALIGNMENT_XML |
static String |
LOAD_DB_RESULTS |
static String |
PAIRS_ONLY |
static String |
PRINT |
static String |
SAVE_ALIGNMENT_XML |
static String |
SELECT_EQR |
static String |
SIMILARITY_COLOR |
static String |
TEXT_ONLY |
| Constructor and Description |
|---|
MenuCreator() |
| Modifier and Type | Method and Description |
|---|---|
static ImageIcon |
createImageIcon(String path)
Returns an ImageIcon, or null if the path was invalid.
|
static JMenuItem |
getAboutMenuItem() |
static JMenuBar |
getAlignmentTextMenu(JFrame frame,
ActionListener actionListener,
AFPChain afpChain)
Create the menu for the "Text Only" representation of alignments
|
static JMenuItem |
getCloseMenuItem(JFrame frame) |
static JMenuItem |
getDBResultMenuItem() |
static JMenuItem |
getExitMenuItem() |
static JMenuItem |
getExportPDBMenuItem(StructureAlignmentJmol parent) |
static JMenuItem |
getHelpMenuItem() |
static JMenuItem |
getLoadMenuItem() |
static JMenuItem |
getOpenPDBMenuItem() |
static JMenuItem |
getPrintMenuItem() |
static JMenuItem |
getSaveAlignmentMenuItem(AFPChain afpChain) |
static JMenuItem |
getShowPDBMenuItem() |
static JMenuBar |
initAlignmentGUIMenu(JFrame frame) |
static JMenuBar |
initMenu(JFrame frame,
StructureAlignmentJmol parent,
AFPChain afpChain)
provide a JMenuBar that can be added to a JFrame
|
static void |
showAboutDialog()
show some info about this gui
|
protected static void |
showMemoryMonitor() |
static void |
showSystemInfo() |
public static final String PRINT
public static final String ALIGNMENT_PANEL
public static final String TEXT_ONLY
public static final String PAIRS_ONLY
public static final String SELECT_EQR
public static final String SIMILARITY_COLOR
public static final String EQR_COLOR
public static final String FATCAT_BLOCK
public static final String LOAD_DB_RESULTS
public static final String SAVE_ALIGNMENT_XML
public static final String LOAD_ALIGNMENT_XML
public static final String FATCAT_TEXT
public static JMenuBar initMenu(JFrame frame, StructureAlignmentJmol parent, AFPChain afpChain)
public static JMenuItem getDBResultMenuItem()
public static JMenuItem getShowPDBMenuItem()
public static JMenuItem getOpenPDBMenuItem()
public static JMenuItem getLoadMenuItem()
public static JMenuBar getAlignmentTextMenu(JFrame frame, ActionListener actionListener, AFPChain afpChain)
frame - actionListener - afpChain - public static JMenuItem getPrintMenuItem()
public static JMenuItem getExportPDBMenuItem(StructureAlignmentJmol parent)
public static JMenuItem getAboutMenuItem()
public static JMenuItem getExitMenuItem()
public static JMenuItem getHelpMenuItem()
public static void showAboutDialog()
public static void showSystemInfo()
public static ImageIcon createImageIcon(String path)
path - the path to the iconprotected static void showMemoryMonitor()
Copyright © 2000-2015 BioJava. All Rights Reserved.