public class MenuCreator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALIGNMENT_PANEL |
static java.lang.String |
EQR_COLOR |
static java.lang.String |
FATCAT_BLOCK |
static java.lang.String |
FATCAT_TEXT |
static java.lang.String |
LOAD_ALIGNMENT_XML |
static java.lang.String |
LOAD_DB_RESULTS |
static java.lang.String |
PAIRS_ONLY |
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 |
getAlignmentTextMenu(javax.swing.JFrame frame,
java.awt.event.ActionListener actionListener,
AFPChain afpChain)
Create the menu for the "Text Only" representation of 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(StructureAlignmentJmol parent) |
static javax.swing.JMenuItem |
getHelpMenuItem() |
static javax.swing.JMenuItem |
getLoadMenuItem() |
static javax.swing.JMenuItem |
getOpenPDBMenuItem() |
static javax.swing.JMenuItem |
getPrintMenuItem() |
static javax.swing.JMenuItem |
getSaveAlignmentMenuItem(AFPChain afpChain) |
static javax.swing.JMenuItem |
getShowPDBMenuItem() |
static javax.swing.JMenuBar |
initAlignmentGUIMenu(javax.swing.JFrame frame) |
static javax.swing.JMenuBar |
initMenu(javax.swing.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
|
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 javax.swing.JMenuBar initMenu(javax.swing.JFrame frame, StructureAlignmentJmol parent, AFPChain afpChain)
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 getAlignmentTextMenu(javax.swing.JFrame frame, java.awt.event.ActionListener actionListener, AFPChain afpChain)
frame
- actionListener
- afpChain
- public static javax.swing.JMenuItem getPrintMenuItem()
public static javax.swing.JMenuItem getExportPDBMenuItem(StructureAlignmentJmol parent)
public static javax.swing.JMenuItem getSaveAlignmentMenuItem(AFPChain afpChain)
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 iconpublic static javax.swing.JMenuBar initAlignmentGUIMenu(javax.swing.JFrame frame)