|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--edu.mssm.crover.representation.Annotation
|
+--edu.mssm.crover.domain2d.Domain2D_Annotation
This annotation describes the information needed for the rendering of a two dimensional protein diagram. Basically, this information is made of two parts.
| Nested Class Summary | |
class |
Domain2D_Annotation.BadDomain2DRenderingClass
|
class |
Domain2D_Annotation.BadLoopTemplateClass
|
class |
Domain2D_Annotation.LayoutInfo
Encapsultates the layout for one subunit (a Domain2D) |
class |
Domain2D_Annotation.RenderingInfo
Encapsultates the rendering algorithm choice for one subunit (a Domain2D) |
| Field Summary |
| Fields inherited from class edu.mssm.crover.representation.Annotation |
origin |
| Constructor Summary | |
Domain2D_Annotation()
|
|
| Method Summary | |
void |
addCterm(int start,
int end)
Convenience method to add a Cterminus representation to this diagram. |
void |
addHelix(int start,
int end)
Adds an helix representation to this diagram. |
void |
addHelix(int start,
int end,
java.awt.Point direction)
Convenience method to add an helix representation to this diagram. |
void |
addLoop(int start,
int end,
java.awt.Point spacer)
Convenience method to add a loop representation to this diagram. |
void |
addNterm(int start,
int end)
Convenience method to add an Nterminus representation to this diagram. |
void |
addStrand(int start,
int end)
Adds a strand representation to this diagram. |
void |
addStrand(int start,
int end,
java.awt.Point direction)
Convenience method to add a strand representation to this diagram. |
void |
addSubunit(Domain2D_Annotation.LayoutInfo _li,
Domain2D_Annotation.RenderingInfo _ri)
Adds a subunit to this Diagram model. |
boolean |
describesResidue(int position)
This annotation does not describe independant residues. |
java.lang.String |
getInfo()
Returns a consise text that describes the nature of this annotation. |
Domain2D_Annotation.LayoutInfo |
getLayoutInfo(int index)
|
Domain2D_Annotation.RenderingInfo |
getRenderingInfo(int index)
|
java.lang.String |
getShortName()
|
int |
getSubunitNumber()
|
Domain2D_Annotation.LayoutInfo[] |
layoutInfo()
|
static void |
main(java.lang.String[] args)
|
void |
modifySubunit(int index,
Domain2D_Annotation.LayoutInfo li)
|
void |
modifySubunit(int index,
Domain2D_Annotation.RenderingInfo li)
|
void |
removeSubunit(int index)
the following methods are for extension purpose only. |
Domain2D_Annotation.RenderingInfo[] |
renderingInfo()
|
java.lang.String |
toString()
translate the model to a String for debugging purpose. |
| Methods inherited from class edu.mssm.crover.representation.Annotation |
getOrigin, setOrigin |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Domain2D_Annotation()
| Method Detail |
public java.lang.String getInfo()
BiologicalAnnotation
getInfo in interface BiologicalAnnotationgetInfo in class Annotationpublic boolean describesResidue(int position)
describesResidue in interface BiologicalAnnotationpublic java.lang.String getShortName()
public int getSubunitNumber()
public Domain2D_Annotation.RenderingInfo[] renderingInfo()
public Domain2D_Annotation.LayoutInfo[] layoutInfo()
public Domain2D_Annotation.LayoutInfo getLayoutInfo(int index)
public Domain2D_Annotation.RenderingInfo getRenderingInfo(int index)
public void addSubunit(Domain2D_Annotation.LayoutInfo _li, Domain2D_Annotation.RenderingInfo _ri)
public void addNterm(int start,
int end)
public void addCterm(int start,
int end)
public void addHelix(int start,
int end,
java.awt.Point direction)
public void addHelix(int start,
int end)
public void addLoop(int start,
int end,
java.awt.Point spacer)
public void addStrand(int start,
int end,
java.awt.Point direction)
public void addStrand(int start,
int end)
#addStrand(int start, int end,Point2D direction)public void removeSubunit(int index)
public void modifySubunit(int index,
Domain2D_Annotation.LayoutInfo li)
public void modifySubunit(int index,
Domain2D_Annotation.RenderingInfo li)
public java.lang.String toString()
toString in class Annotationpublic static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||