charite.christo.strap
Class Distance3DToCursor
java.lang.Object
charite.christo.protein.AbstractVisibleIn123
charite.christo.protein.BasicResidueSelection
charite.christo.strap.Distance3DToCursor
- All Implemented Interfaces:
- Colored, HasImage, HasName, HasPropertyMap, HasRenderer, HasSharedControlPanel, HasWeakRef, IsEnabled, NeedsSharedInstance, HasProtein, ResidueSelection, StrapListener, VisibleIn123, java.util.EventListener, javax.swing.event.ChangeListener
public class Distance3DToCursor
- extends BasicResidueSelection
- implements StrapListener, IsEnabled, HasSharedControlPanel, HasImage, javax.swing.event.ChangeListener
HELP
In DIALOG:DialogSelectionOfResiduesMain the method COMBO:Distance3DToCursor is selected.
The Euclidean distances between the cursor and all C-alpha atom coordinates are permanently monitored
when the cursor is moved.
This way amino acids equivalent to the amino acid at the cursor position show up in all proteins.
Before this can be allied the proteins must be oriented in 3D-space in the same way: DIALOG:DialogSuperimpose3D.
SEE_DIALOG:DialogSelectionOfResiduesMain
SEE_DIALOG:DialogSuperimpose3D
Fields inherited from interface charite.christo.protein.VisibleIn123 |
ANYWHERE, ARROW_HEADS, BIT_SHIFT_LINE, HTML, JALVIEW, NO_FLASH, SEQUENCE, STRUCTURE, STYLE_BACKGROUND, STYLE_CIRCLE, STYLE_CURSOR, STYLE_DOTTED, STYLE_HIDDEN, STYLE_IMAGE, STYLE_IMAGE_LUCID, STYLE_LOWER_HALF_BACKGROUND, STYLE_UNDERLINE, STYLE_UPPER_HALF_BACKGROUND |
Methods inherited from class charite.christo.protein.BasicResidueSelection |
changeSelectedAA, getName, getProtein, getRenderer, getRGB, getSelectedAminoacidsOffset, selectRange, setAminoSelected, setName, setProtein, setSelectedAminoacids |
Methods inherited from class charite.christo.protein.AbstractVisibleIn123 |
getColor, getImage, getPropertyMap, getStyle, getVisibleWhere, getWeakRef, imageBall, newComboStyle, setColor, setImage, setStyle, setVisibleWhere |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Distance3DToCursor
public Distance3DToCursor()
getSharedControlPanel
public javax.swing.JComponent getSharedControlPanel()
- Specified by:
getSharedControlPanel
in interface HasSharedControlPanel
setSharedInstance
public void setSharedInstance(java.lang.Object shared)
- Specified by:
setSharedInstance
in interface NeedsSharedInstance
- Overrides:
setSharedInstance
in class BasicResidueSelection
getSharedInstance
public java.lang.Object getSharedInstance()
- Specified by:
getSharedInstance
in interface NeedsSharedInstance
- Overrides:
getSharedInstance
in class BasicResidueSelection
toString
public java.lang.String toString()
- Overrides:
toString
in class BasicResidueSelection
isEnabled
public boolean isEnabled(java.lang.Object o)
- Specified by:
isEnabled
in interface IsEnabled
handleEvent
public final void handleEvent(StrapEvent ev)
- Specified by:
handleEvent
in interface StrapListener
getSelectedAminoacids
public boolean[] getSelectedAminoacids()
- Specified by:
getSelectedAminoacids
in interface ResidueSelection
- Overrides:
getSelectedAminoacids
in class BasicResidueSelection
- Returns:
- true for each selected residue.
stateChanged
public void stateChanged(javax.swing.event.ChangeEvent ev)
- Specified by:
stateChanged
in interface javax.swing.event.ChangeListener
'The most important classes are StrapAlign, Protein and StrapEvent.'