public class MenuCreator extends Object
Examples: Text Frames, Alignment Panels, Jmol Panels.
Modifier and Type | Class and Description |
---|---|
static class |
MenuCreator.DotPlotListener
Creates a frame to display a DotPlotPanel.
|
Modifier and Type | Field and Description |
---|---|
static String |
ALIGNMENT_PANEL |
static String |
DIST_MATRICES |
static String |
DOT_PLOT |
static String |
EQR_COLOR |
static String |
FASTA_FORMAT |
static String |
FATCAT_BLOCK |
static String |
FATCAT_TEXT |
protected static int |
keyMask |
static String |
LOAD_ALIGNMENT_XML |
static String |
LOAD_DB_RESULTS |
static String |
MULTIPLE_ALIGN |
static String |
PAIRS_ONLY |
static String |
PAIRWISE_ALIGN |
static String |
PHYLOGENETIC_TREE |
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 |
getAlignmentPanelMenu(JFrame frame,
ActionListener actionListener,
AFPChain afpChain,
MultipleAlignment msa)
Create the menu for the Alignment Panel representation of
Structural Alignments.
|
static JMenuBar |
getAlignmentTextMenu(JFrame frame,
ActionListener actionListener,
AFPChain afpChain,
MultipleAlignment msa)
Create the menu for the Text representations of Structural Alignments.
|
static JMenuItem |
getCloseMenuItem(JFrame frame) |
static JMenuItem |
getDBResultMenuItem() |
static JMenuItem |
getExitMenuItem() |
static JMenuItem |
getExportPDBMenuItem(AbstractAlignmentJmol parent) |
static JMenuItem |
getHelpMenuItem() |
protected static JMenuItem |
getIcon(ActionListener actionListener,
String text) |
static JMenuItem |
getLoadMenuItem() |
protected static JMenuItem |
getMultipleAlignmentMenuItem() |
static JMenuItem |
getOpenPDBMenuItem() |
protected static JMenuItem |
getPairwiseAlignmentMenuItem() |
static JMenuItem |
getPrintMenuItem() |
static JMenuItem |
getSaveAlignmentMenuItem(AFPChain afpChain,
MultipleAlignment msa) |
static JMenuItem |
getShowPDBMenuItem() |
static JMenuBar |
initAlignmentGUIMenu(JFrame frame) |
static JMenuBar |
initJmolMenu(JFrame frame,
AbstractAlignmentJmol parent,
AFPChain afpChain,
MultipleAlignment msa)
Provide a JMenuBar that can be added to a JFrame containing
a JmolPanel.
|
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 final String FASTA_FORMAT
public static final String DIST_MATRICES
public static final String DOT_PLOT
public static final String PAIRWISE_ALIGN
public static final String MULTIPLE_ALIGN
public static final String PHYLOGENETIC_TREE
protected static final int keyMask
public MenuCreator()
public static JMenuBar initJmolMenu(JFrame frame, AbstractAlignmentJmol parent, AFPChain afpChain, MultipleAlignment msa)
Menus included:
public static JMenuItem getDBResultMenuItem()
public static JMenuItem getShowPDBMenuItem()
public static JMenuItem getOpenPDBMenuItem()
public static JMenuItem getLoadMenuItem()
public static JMenuBar getAlignmentPanelMenu(JFrame frame, ActionListener actionListener, AFPChain afpChain, MultipleAlignment msa)
frame
- actionListener
- afpChain
- MultipleAlignment
- public static JMenuBar getAlignmentTextMenu(JFrame frame, ActionListener actionListener, AFPChain afpChain, MultipleAlignment msa)
frame
- actionListener
- afpChain
- msa
- protected static JMenuItem getIcon(ActionListener actionListener, String text)
public static JMenuItem getPrintMenuItem()
public static JMenuItem getExportPDBMenuItem(AbstractAlignmentJmol parent)
public static JMenuItem getSaveAlignmentMenuItem(AFPChain afpChain, MultipleAlignment msa)
public static JMenuItem getAboutMenuItem()
public static JMenuItem getExitMenuItem()
public static JMenuItem getHelpMenuItem()
public static JMenuItem getCloseMenuItem(JFrame frame)
public static void showAboutDialog()
public static void showSystemInfo()
public static ImageIcon createImageIcon(String path)
path
- the path to the iconprotected static JMenuItem getPairwiseAlignmentMenuItem()
protected static JMenuItem getMultipleAlignmentMenuItem()
public static JMenuBar initAlignmentGUIMenu(JFrame frame)
protected static void showMemoryMonitor()
Copyright © 2000–2018 BioJava. All rights reserved.