'STRAP:multiple sequence alignments '

charite.christo.strap
Class Distance3DToCursor

java.lang.Object
  extended by charite.christo.protein.AbstractVisibleIn123
      extended by charite.christo.protein.BasicResidueSelection
          extended by 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


Field Summary
 
Fields inherited from class charite.christo.protein.BasicResidueSelection
OFFSET_IS_1ST_IDX
 
Fields inherited from class charite.christo.protein.AbstractVisibleIn123
WEAK_REF
 
Fields inherited from interface charite.christo.protein.ResidueSelection
NAME_BACKBONE, NAME_CURSOR, NAME_MOUSE_OVER, NAME_STANDARD, NONE
 
Fields inherited from interface charite.christo.HasRenderer
JLIST, STRIKE_THROUGH
 
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
 
Constructor Summary
Distance3DToCursor()
           
 
Method Summary
 boolean[] getSelectedAminoacids()
           
 javax.swing.JComponent getSharedControlPanel()
           
 java.lang.Object getSharedInstance()
           
 void handleEvent(StrapEvent ev)
           
 boolean isEnabled(java.lang.Object o)
           
 void setSharedInstance(java.lang.Object shared)
           
 void stateChanged(javax.swing.event.ChangeEvent ev)
           
 java.lang.String toString()
           
 
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
 
Methods inherited from interface charite.christo.HasImage
getImage
 

Constructor Detail

Distance3DToCursor

public Distance3DToCursor()
Method Detail

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

'STRAP:multiple sequence alignments '

'The most important classes are StrapAlign, Protein and StrapEvent.'