edu.mssm.crover.domain2d
Class DiagramAnnotationsToDrawingsImpl

java.lang.Object
  |
  +--edu.mssm.crover.domain2d.AbstractAnnotationsToDrawings
        |
        +--edu.mssm.crover.domain2d.DiagramAnnotationsToDrawingsImpl
All Implemented Interfaces:
AnnotationsToDrawings

public class DiagramAnnotationsToDrawingsImpl
extends AbstractAnnotationsToDrawings

Translates annotation to graphical renderings for a Diagram.

See Also:
AnnotationsToDrawings

Method Summary
 Diagram getDiagram()
          Returns the diagram associated with this implementation.
protected  boolean getShowDisulfideBridges()
           
 void setShowDisulfideBridges(boolean state)
          Toggle the display of disulfide bridges.
 
Methods inherited from class edu.mssm.crover.domain2d.AbstractAnnotationsToDrawings
addParser, parseAnnotation, parseAnnotations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDiagram

public Diagram getDiagram()
Returns the diagram associated with this implementation. Parsers call this method to obtain information they require to prepare new drawings on the Diagram.


setShowDisulfideBridges

public void setShowDisulfideBridges(boolean state)
Toggle the display of disulfide bridges. Disulfide bridge annotations will be rendered on the diagram if present.

Parameters:
state - True to show disulfide bridges on the diagram, False to hide these annotation rendering.

getShowDisulfideBridges

protected boolean getShowDisulfideBridges()


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.