public abstract class AbstractAlignmentJmol extends Object implements MouseMotionListener, MouseListener, WindowListener, ActionListener
| Modifier and Type | Field and Description |
|---|---|
protected org.jcolorbrewer.ColorBrewer |
colorPalette |
protected static String |
COMMAND_LINE_HELP |
protected static int |
DEFAULT_HEIGHT |
protected static String |
DEFAULT_SCRIPT |
protected static int |
DEFAULT_WIDTH |
protected JFrame |
frame |
protected JmolPanel |
jmolPanel |
protected static int |
nrOpenWindows |
protected JTextField |
status |
protected Structure |
structure |
protected JTextField |
text |
| Constructor and Description |
|---|
AbstractAlignmentJmol() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
actionPerformed(ActionEvent e) |
void |
destroy()
Set all the member variables to null.
|
void |
evalString(String rasmolScript)
Execute a command String in the current Jmol panel.
|
org.jcolorbrewer.ColorBrewer |
getColorPalette()
Return the color pattelete of the AlignmentJmol instance.
|
abstract List<Matrix> |
getDistanceMatrices()
Returns a List of internal Distance Matrices,
one for each structure in the alignment.
|
JmolPanel |
getJmolPanel()
Return the jmolPanel instance of the AlignmentJmol.
|
Structure |
getStructure()
Return the current Structure in the AlignmentJmol instance.
|
String |
getTitle()
Return the title of the AlignmentJmol window.
|
protected abstract void |
initCoords()
Display the structures after the variable initialization in the
constructor.
|
void |
mouseClicked(MouseEvent e) |
void |
mouseDragged(MouseEvent e) |
void |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent e) |
void |
mouseMoved(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
abstract void |
resetDisplay()
Return to the initial state of the alignment visualization.
|
void |
setAtoms(Atom[] atoms)
Create and set a new structure from a given atom array.
|
void |
setJmolPanel(JmolPanel jmolPanel)
Set the jmolPanel of the AlignmentJmol instance.
|
void |
setStructure(Structure s)
Set a new Structure to visualize in the AlignmentJmol window.
|
void |
setTitle(String title)
Set the title of the AlignmentJmol window.
|
void |
windowActivated(WindowEvent e) |
void |
windowClosed(WindowEvent e) |
void |
windowClosing(WindowEvent e) |
void |
windowDeactivated(WindowEvent e) |
void |
windowDeiconified(WindowEvent e) |
void |
windowIconified(WindowEvent e) |
void |
windowOpened(WindowEvent e) |
protected org.jcolorbrewer.ColorBrewer colorPalette
protected JTextField text
protected JTextField status
protected static final String COMMAND_LINE_HELP
protected static final int DEFAULT_HEIGHT
protected static final int DEFAULT_WIDTH
protected static final String DEFAULT_SCRIPT
protected static int nrOpenWindows
public AbstractAlignmentJmol()
protected abstract void initCoords()
public void destroy()
public abstract void resetDisplay()
public void setAtoms(Atom[] atoms)
atoms - public org.jcolorbrewer.ColorBrewer getColorPalette()
public JmolPanel getJmolPanel()
public void setJmolPanel(JmolPanel jmolPanel)
jmolPanel - public void evalString(String rasmolScript)
rasmolScript - public void setStructure(Structure s)
s - public Structure getStructure()
public abstract List<Matrix> getDistanceMatrices()
public void setTitle(String title)
label - public void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenerpublic void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenerpublic void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenerpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerpublic void windowActivated(WindowEvent e)
windowActivated in interface WindowListenerpublic void windowClosed(WindowEvent e)
windowClosed in interface WindowListenerpublic void windowClosing(WindowEvent e)
windowClosing in interface WindowListenerpublic void windowDeactivated(WindowEvent e)
windowDeactivated in interface WindowListenerpublic void windowDeiconified(WindowEvent e)
windowDeiconified in interface WindowListenerpublic void windowIconified(WindowEvent e)
windowIconified in interface WindowListenerpublic void windowOpened(WindowEvent e)
windowOpened in interface WindowListenerpublic abstract void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerCopyright © 2000–2017 BioJava. All rights reserved.