charite.christo.strap.extensions
Class Distance3DToHetero
java.lang.Object
charite.christo.protein.AbstractVisibleIn123
charite.christo.protein.BasicResidueSelection
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:
- The name E.G. FAD, FMN, HEM.
- The number as found in the pdb file.
- In case of DNA/RNA a capital letter which designates the chain letter
Limitations: Currently only c-alpha atoms.
SEE_CLASS:Distance3DToCursor
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, 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 |
KEY_DEFAULT_HETERO
public static final java.lang.Object KEY_DEFAULT_HETERO
Distance3DToHetero
public Distance3DToHetero()
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
'The most important classes are StrapAlign, Protein and StrapEvent.'