public class MenuCreator
extends java.lang.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 java.lang.String |
ALIGNMENT_PANEL |
static java.lang.String |
DIST_MATRICES |
static java.lang.String |
DOT_PLOT |
static java.lang.String |
EQR_COLOR |
static java.lang.String |
FASTA_FORMAT |
static java.lang.String |
FATCAT_BLOCK |
static java.lang.String |
FATCAT_TEXT |
protected static int |
keyMask |
static java.lang.String |
LOAD_ALIGNMENT_XML |
static java.lang.String |
LOAD_DB_RESULTS |
static java.lang.String |
MULTIPLE_ALIGN |
static java.lang.String |
PAIRS_ONLY |
static java.lang.String |
PAIRWISE_ALIGN |
static java.lang.String |
PHYLOGENETIC_TREE |
static java.lang.String |
PRINT |
static java.lang.String |
SAVE_ALIGNMENT_XML |
static java.lang.String |
SELECT_EQR |
static java.lang.String |
SIMILARITY_COLOR |
static java.lang.String |
TEXT_ONLY |
Constructor and Description |
---|
MenuCreator() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.ImageIcon |
createImageIcon(java.lang.String path)
Returns an ImageIcon, or null if the path was invalid.
|
static javax.swing.JMenuItem |
getAboutMenuItem() |
static javax.swing.JMenuBar |
getAlignmentPanelMenu(javax.swing.JFrame frame,
java.awt.event.ActionListener actionListener,
AFPChain afpChain,
MultipleAlignment msa)
Create the menu for the Alignment Panel representation of
Structural Alignments.
|
static javax.swing.JMenuBar |
getAlignmentTextMenu(javax.swing.JFrame frame,
java.awt.event.ActionListener actionListener,
AFPChain afpChain,
MultipleAlignment msa)
Create the menu for the Text representations of Structural Alignments.
|
static javax.swing.JMenuItem |
getCloseMenuItem(javax.swing.JFrame frame) |
static javax.swing.JMenuItem |
getDBResultMenuItem() |
static javax.swing.JMenuItem |
getExitMenuItem() |
static javax.swing.JMenuItem |
getExportPDBMenuItem(AbstractAlignmentJmol parent) |
static javax.swing.JMenuItem |
getHelpMenuItem() |
protected static javax.swing.JMenuItem |
getIcon(java.awt.event.ActionListener actionListener,
java.lang.String text) |
static javax.swing.JMenuItem |
getLoadMenuItem() |
protected static javax.swing.JMenuItem |
getMultipleAlignmentMenuItem() |
static javax.swing.JMenuItem |
getOpenPDBMenuItem() |
protected static javax.swing.JMenuItem |
getPairwiseAlignmentMenuItem() |
static javax.swing.JMenuItem |
getPrintMenuItem() |
static javax.swing.JMenuItem |
getSaveAlignmentMenuItem(AFPChain afpChain,
MultipleAlignment msa) |
static javax.swing.JMenuItem |
getShowPDBMenuItem() |
static javax.swing.JMenuBar |
initAlignmentGUIMenu(javax.swing.JFrame frame) |
static javax.swing.JMenuBar |
initJmolMenu(javax.swing.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 java.lang.String PRINT
public static final java.lang.String ALIGNMENT_PANEL
public static final java.lang.String TEXT_ONLY
public static final java.lang.String PAIRS_ONLY
public static final java.lang.String SELECT_EQR
public static final java.lang.String SIMILARITY_COLOR
public static final java.lang.String EQR_COLOR
public static final java.lang.String FATCAT_BLOCK
public static final java.lang.String LOAD_DB_RESULTS
public static final java.lang.String SAVE_ALIGNMENT_XML
public static final java.lang.String LOAD_ALIGNMENT_XML
public static final java.lang.String FATCAT_TEXT
public static final java.lang.String FASTA_FORMAT
public static final java.lang.String DIST_MATRICES
public static final java.lang.String DOT_PLOT
public static final java.lang.String PAIRWISE_ALIGN
public static final java.lang.String MULTIPLE_ALIGN
public static final java.lang.String PHYLOGENETIC_TREE
protected static final int keyMask
public static javax.swing.JMenuBar initJmolMenu(javax.swing.JFrame frame, AbstractAlignmentJmol parent, AFPChain afpChain, MultipleAlignment msa)
Menus included:
public static javax.swing.JMenuItem getDBResultMenuItem()
public static javax.swing.JMenuItem getShowPDBMenuItem()
public static javax.swing.JMenuItem getOpenPDBMenuItem()
public static javax.swing.JMenuItem getLoadMenuItem()
public static javax.swing.JMenuBar getAlignmentPanelMenu(javax.swing.JFrame frame, java.awt.event.ActionListener actionListener, AFPChain afpChain, MultipleAlignment msa)
frame
- actionListener
- afpChain
- MultipleAlignment
- public static javax.swing.JMenuBar getAlignmentTextMenu(javax.swing.JFrame frame, java.awt.event.ActionListener actionListener, AFPChain afpChain, MultipleAlignment msa)
frame
- actionListener
- afpChain
- msa
- protected static javax.swing.JMenuItem getIcon(java.awt.event.ActionListener actionListener, java.lang.String text)
public static javax.swing.JMenuItem getPrintMenuItem()
public static javax.swing.JMenuItem getExportPDBMenuItem(AbstractAlignmentJmol parent)
public static javax.swing.JMenuItem getSaveAlignmentMenuItem(AFPChain afpChain, MultipleAlignment msa)
public static javax.swing.JMenuItem getAboutMenuItem()
public static javax.swing.JMenuItem getExitMenuItem()
public static javax.swing.JMenuItem getHelpMenuItem()
public static javax.swing.JMenuItem getCloseMenuItem(javax.swing.JFrame frame)
public static void showAboutDialog()
public static void showSystemInfo()
public static javax.swing.ImageIcon createImageIcon(java.lang.String path)
path
- the path to the iconprotected static javax.swing.JMenuItem getPairwiseAlignmentMenuItem()
protected static javax.swing.JMenuItem getMultipleAlignmentMenuItem()
public static javax.swing.JMenuBar initAlignmentGUIMenu(javax.swing.JFrame frame)
protected static void showMemoryMonitor()