chrriis.grammar.rrdiagram
Class RRElement

java.lang.Object
  extended by chrriis.grammar.rrdiagram.RRElement
Direct Known Subclasses:
RRBreak, RRChoice, RRLine, RRLoop, RRSequence, RRText

public abstract class RRElement
extends Object

Author:
Christopher Deckers

Nested Class Summary
protected static class RRElement.LayoutInfo
           
 
Constructor Summary
RRElement()
           
 
Method Summary
protected abstract  void computeLayoutInfo(RRDiagramToSVG rrDiagramToSVG)
           
 RRElement.LayoutInfo getLayoutInfo()
           
 void setLayoutInfo(RRElement.LayoutInfo layoutInfo)
           
protected abstract  void toSVG(RRDiagramToSVG rrDiagramToSVG, int xOffset, int yOffset, RRDiagram.SvgContent svgContent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RRElement

public RRElement()
Method Detail

setLayoutInfo

public void setLayoutInfo(RRElement.LayoutInfo layoutInfo)

getLayoutInfo

public RRElement.LayoutInfo getLayoutInfo()

computeLayoutInfo

protected abstract void computeLayoutInfo(RRDiagramToSVG rrDiagramToSVG)

toSVG

protected abstract void toSVG(RRDiagramToSVG rrDiagramToSVG,
                              int xOffset,
                              int yOffset,
                              RRDiagram.SvgContent svgContent)