de.bsd.x2svg.draw
Class SubstitutionModel

java.lang.Object
  extended by de.bsd.x2svg.draw.ContentModel
      extended by de.bsd.x2svg.draw.SubstitutionModel

public class SubstitutionModel
extends ContentModel

Inheritance content model specifies that the right side is a not the "real" graph, but an item to be substitutet.

Example:

Since:
1.2
Author:
hwr@pilhuhn.de
See Also:
SubstitutionElement

Constructor Summary
SubstitutionModel()
           
 
Method Summary
 void draw(org.apache.batik.svggen.SVGGraphics2D svg, int topX, int topY)
          Draw the ChoiceModle content box and add an inheritance arrow to it.
 
Methods inherited from class de.bsd.x2svg.draw.ContentModel
drawContentBox
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubstitutionModel

public SubstitutionModel()
Method Detail

draw

public void draw(org.apache.batik.svggen.SVGGraphics2D svg,
                 int topX,
                 int topY)
Draw the ChoiceModle content box and add an inheritance arrow to it.

Specified by:
draw in class ContentModel
Parameters:
svg - svg canvas to use
topX - top left corner of the surrounding box
topY - top left corner of the surrounding box
See Also:
ContentModel.draw(org.apache.batik.svggen.SVGGraphics2D, int, int)


x2svg version 1.2.1