Class StructureAlignmentJmol
java.lang.Object
org.biojava.nbio.structure.align.gui.jmol.AbstractAlignmentJmol
org.biojava.nbio.structure.align.gui.jmol.StructureAlignmentJmol
- All Implemented Interfaces:
ActionListener
,MouseListener
,MouseMotionListener
,WindowListener
,EventListener
A class that provides a simple GUI for Jmol
- Since:
- 1.6
- Author:
- Andreas Prlic
-
Field Summary
Fields inherited from class org.biojava.nbio.structure.align.gui.jmol.AbstractAlignmentJmol
colorPalette, COMMAND_LINE_HELP, DEFAULT_HEIGHT, DEFAULT_SCRIPT, DEFAULT_WIDTH, frame, jmolPanel, nrOpenWindows, status, structure, text
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
destroy()
Set all the member variables to null.Returns a List of internal Distance Matrices, one for each structure in the alignment.static String
getJmolScript4Block
(AFPChain afpChain, Atom[] ca1, Atom[] ca2, int blockNr) static String
getJmolString
(AFPChain afpChain, Atom[] ca1, Atom[] ca2) protected void
Display the structures after the variable initialization in the constructor.static void
void
Return to the initial state of the alignment visualization.Methods inherited from class org.biojava.nbio.structure.align.gui.jmol.AbstractAlignmentJmol
evalString, getColorPalette, getJmolPanel, getStructure, getTitle, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, setAtoms, setJmolPanel, setStructure, setTitle, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
-
Constructor Details
-
StructureAlignmentJmol
public StructureAlignmentJmol() -
StructureAlignmentJmol
-
-
Method Details
-
main
-
initCoords
protected void initCoords()Description copied from class:AbstractAlignmentJmol
Display the structures after the variable initialization in the constructor.- Specified by:
initCoords
in classAbstractAlignmentJmol
-
destroy
public void destroy()Description copied from class:AbstractAlignmentJmol
Set all the member variables to null.- Overrides:
destroy
in classAbstractAlignmentJmol
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
- Specified by:
actionPerformed
in classAbstractAlignmentJmol
-
getJmolString
-
getJmolScript4Block
-
resetDisplay
public void resetDisplay()Description copied from class:AbstractAlignmentJmol
Return to the initial state of the alignment visualization.- Specified by:
resetDisplay
in classAbstractAlignmentJmol
-
getDistanceMatrices
Description copied from class:AbstractAlignmentJmol
Returns a List of internal Distance Matrices, one for each structure in the alignment. Returns null if no alignment is being displayed.- Specified by:
getDistanceMatrices
in classAbstractAlignmentJmol
-