org.biojava.bio.structure.align.gui
Class MenuCreator
java.lang.Object
org.biojava.bio.structure.align.gui.MenuCreator
public class MenuCreator
- extends Object
Create the menu for Fatcat/CE structure alignment stuff
- Since:
- 1.7
- Author:
- Andreas Prlic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRINT
public static final String PRINT
- See Also:
- Constant Field Values
ALIGNMENT_PANEL
public static final String ALIGNMENT_PANEL
- See Also:
- Constant Field Values
TEXT_ONLY
public static final String TEXT_ONLY
- See Also:
- Constant Field Values
PAIRS_ONLY
public static final String PAIRS_ONLY
- See Also:
- Constant Field Values
SELECT_EQR
public static final String SELECT_EQR
- See Also:
- Constant Field Values
SIMILARITY_COLOR
public static final String SIMILARITY_COLOR
- See Also:
- Constant Field Values
EQR_COLOR
public static final String EQR_COLOR
- See Also:
- Constant Field Values
FATCAT_BLOCK
public static final String FATCAT_BLOCK
- See Also:
- Constant Field Values
LOAD_DB_RESULTS
public static final String LOAD_DB_RESULTS
- See Also:
- Constant Field Values
SAVE_ALIGNMENT_XML
public static final String SAVE_ALIGNMENT_XML
- See Also:
- Constant Field Values
LOAD_ALIGNMENT_XML
public static final String LOAD_ALIGNMENT_XML
- See Also:
- Constant Field Values
FATCAT_TEXT
public static final String FATCAT_TEXT
- See Also:
- Constant Field Values
MenuCreator
public MenuCreator()
initMenu
public static JMenuBar initMenu(JFrame frame,
StructureAlignmentJmol parent,
AFPChain afpChain)
- provide a JMenuBar that can be added to a JFrame
- Returns:
- a JMenuBar
getDBResultMenuItem
public static JMenuItem getDBResultMenuItem()
getShowPDBMenuItem
public static JMenuItem getShowPDBMenuItem()
getOpenPDBMenuItem
public static JMenuItem getOpenPDBMenuItem()
getLoadMenuItem
public static JMenuItem getLoadMenuItem()
getAlignmentTextMenu
public static JMenuBar getAlignmentTextMenu(JFrame frame,
ActionListener actionListener,
AFPChain afpChain)
- Create the menu for the "Text Only" representation of alignments
- Parameters:
frame
- actionListener
- afpChain
-
- Returns:
- a JMenuBar
getPrintMenuItem
public static JMenuItem getPrintMenuItem()
getExportPDBMenuItem
public static JMenuItem getExportPDBMenuItem(StructureAlignmentJmol parent)
getSaveAlignmentMenuItem
public static JMenuItem getSaveAlignmentMenuItem(AFPChain afpChain)
getAboutMenuItem
public static JMenuItem getAboutMenuItem()
getExitMenuItem
public static JMenuItem getExitMenuItem()
getHelpMenuItem
public static JMenuItem getHelpMenuItem()
getCloseMenuItem
public static JMenuItem getCloseMenuItem(JFrame frame)
showAboutDialog
public static void showAboutDialog()
- show some info about this gui
showSystemInfo
public static void showSystemInfo()
createImageIcon
public static ImageIcon createImageIcon(String path)
- Returns an ImageIcon, or null if the path was invalid.
- Parameters:
path
- the path to the icon
- Returns:
- ImageIcon object
initAlignmentGUIMenu
public static JMenuBar initAlignmentGUIMenu(JFrame frame)