|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--edu.mssm.crover.domain2d.BasicResidueGlyphRenderingAttributes
Basic implementation of the ResidueGlyphRenderingAttributes interface. Stores the attributes and give them back when requested.
| Field Summary | |
protected boolean |
outline
|
| Constructor Summary | |
BasicResidueGlyphRenderingAttributes()
|
|
BasicResidueGlyphRenderingAttributes(int shape,
boolean outline)
|
|
| Method Summary | |
boolean |
getDefaultResidueGlyphOutline()
Get the suggested default outline attribute. |
int |
getDefaultResidueShape()
Get the shape of residues that are not hyperlinked. |
int |
getLinkedResidueShape()
Get the shape of residues that are hyperlinked. |
void |
setDefaultResidueGlyphOutline(boolean outline)
Sets the outline attribute for future instances of ResidueGlyph. |
void |
setDefaultResidueShape(int shape)
Sets the shape of linked residues. |
void |
setLinkedResidueShape(int shape)
Sets the shape of linked residues. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected boolean outline
| Constructor Detail |
public BasicResidueGlyphRenderingAttributes()
public BasicResidueGlyphRenderingAttributes(int shape,
boolean outline)
| Method Detail |
public void setDefaultResidueGlyphOutline(boolean outline)
ResidueGlyphRenderingAttributes
setDefaultResidueGlyphOutline in interface ResidueGlyphRenderingAttributesoutline - an outline display is suggested when true.for usage.public boolean getDefaultResidueGlyphOutline()
ResidueGlyphRenderingAttributes
getDefaultResidueGlyphOutline in interface ResidueGlyphRenderingAttributespublic void setLinkedResidueShape(int shape)
ResidueGlyphRenderingAttributes
setLinkedResidueShape in interface ResidueGlyphRenderingAttributesResidueGlyph.CIRCLE_SHAPE,
edu.mssm.crover.domain2d.ResidueGlyph#RECTANGULAR_SHAPE,
*public void setDefaultResidueShape(int shape)
ResidueGlyphRenderingAttributes
setDefaultResidueShape in interface ResidueGlyphRenderingAttributesResidueGlyph.CIRCLE_SHAPE,
edu.mssm.crover.domain2d.ResidueGlyph#RECTANGULAR_SHAPE,
ResidueGlyph.OCTAGONAL_SHAPEpublic int getLinkedResidueShape()
ResidueGlyphRenderingAttributes
getLinkedResidueShape in interface ResidueGlyphRenderingAttributesfor shape definitions.public int getDefaultResidueShape()
ResidueGlyphRenderingAttributes
getDefaultResidueShape in interface ResidueGlyphRenderingAttributes
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||