|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteinshader.structure.Region
org.proteinshader.structure.Loop
public class Loop
This concrete subclass of Region holds information on the general "loop" regions found between well-defined regions of secondary structure (helices and beta-strands).
| Constructor Summary | |
|---|---|
Loop(String loopID,
String startResidueID,
String endResidueID,
Chain chain)
Constructs a Loop. |
|
| Method Summary | |
|---|---|
void |
accept(Visitor visitor)
Accepts a Visitor and does a callback. |
String |
getLoopID()
Returns the Loop ID. |
String |
toString()
Returns the Loop ID. |
| Methods inherited from class org.proteinshader.structure.Region |
|---|
createSegments, getAminoAcidAfterRegion, getAminoAcidBeforeRegion, getChainID, getEndResidueID, getModelID, getSegment, getStartResidueID, getStructureID, iteratorAminoAcids, iteratorSegments, markAminoAcids, numberOfAminoAcids, numberOfSegments, processID, setSegmentAlpha, setSegmentAlphaToDefault, setSegmentRGB, setSegmentRGBToDefault, setSegmentsToAminoAcidColors, setSegmentsToRegionColor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Loop(String loopID,
String startResidueID,
String endResidueID,
Chain chain)
throws InvalidRegionException,
InvalidIDException
loopID - should be "Loop 1", "Loop 2", "Loop 3", etc.
InvalidRegionException - if the sequence of AminoAcids
(with at least two Residues)
cannot be found on the Chain.
InvalidIDException - if the loopID is null or does not have
at least one non-whitespace character.| Method Detail |
|---|
public void accept(Visitor visitor)
throws VisitorException
accept in interface Visitableaccept in class Regionvisitor - the Visitor to do a callback with.
VisitorException - if an error occurs while an object is
being visited.public String getLoopID()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||