'STRAP:multiple sequence alignments '

charite.christo.strap.extensions
Class Distance3DToHetero

java.lang.Object
  extended by charite.christo.protein.AbstractVisibleIn123
      extended by charite.christo.protein.BasicResidueSelection
          extended by charite.christo.strap.extensions.Distance3DToHetero
All Implemented Interfaces:
Colored, HasImage, HasName, HasPropertyMap, HasRenderer, HasSharedControlPanel, HasWeakRef, IsEnabled, NeedsSharedInstance, HasProtein, ResidueSelection, StrapListener, VisibleIn123, java.awt.event.ActionListener, java.util.EventListener

public class Distance3DToHetero
extends BasicResidueSelection
implements StrapListener, IsEnabled, HasSharedControlPanel, java.awt.event.ActionListener

HELP A white space separated list of hetero-groups is needed. Hetero-groups can be specified:

  1. The name E.G. FAD, FMN, HEM.
  2. The number as found in the pdb file.
  3. In case of DNA/RNA a capital letter which designates the chain letter

Limitations: Currently only c-alpha atoms. SEE_CLASS:Distance3DToCursor


Field Summary
static java.lang.Object KEY_DEFAULT_HETERO
           
 
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
Distance3DToHetero()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ev)
           
 boolean[] getSelectedAminoacids()
           
 javax.swing.JComponent getSharedControlPanel()
           
 void handleEvent(StrapEvent ev)
           
 boolean isEnabled(java.lang.Object o)
           
static void setDefaultHeteroCode(java.lang.String s)
           
 void setSelectedAminoacids(boolean[] bb, int offset)
          The method body may be kept empty.
 java.lang.String toString()
           
 
Methods inherited from class charite.christo.protein.BasicResidueSelection
changeSelectedAA, getName, getProtein, getRenderer, getRGB, getSelectedAminoacidsOffset, getSharedInstance, selectRange, setAminoSelected, setName, setProtein, setSharedInstance
 
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.NeedsSharedInstance
getSharedInstance, setSharedInstance
 

Field Detail

KEY_DEFAULT_HETERO

public static final java.lang.Object KEY_DEFAULT_HETERO
Constructor Detail

Distance3DToHetero

public Distance3DToHetero()
Method Detail

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

getSharedControlPanel

public javax.swing.JComponent getSharedControlPanel()
Specified by:
getSharedControlPanel in interface HasSharedControlPanel

setDefaultHeteroCode

public static void setDefaultHeteroCode(java.lang.String s)

handleEvent

public final void handleEvent(StrapEvent ev)
Specified by:
handleEvent in interface StrapListener

setSelectedAminoacids

public void setSelectedAminoacids(boolean[] bb,
                                  int offset)
Description copied from interface: ResidueSelection
The method body may be kept empty.

Specified by:
setSelectedAminoacids in interface ResidueSelection
Overrides:
setSelectedAminoacids in class BasicResidueSelection

getSelectedAminoacids

public boolean[] getSelectedAminoacids()
Specified by:
getSelectedAminoacids in interface ResidueSelection
Overrides:
getSelectedAminoacids in class BasicResidueSelection
Returns:
true for each selected residue.

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ev)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

'STRAP:multiple sequence alignments '

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