de.bsd.x2svg.draw
Class InheritanceModel

java.lang.Object
  extended by de.bsd.x2svg.draw.ContentModel
      extended by de.bsd.x2svg.draw.ChoiceModel
          extended by de.bsd.x2svg.draw.InheritanceModel

public class InheritanceModel
extends ChoiceModel

Inheritance content model specifies that the elements on the right side inherit from the element on the left side.

Example:

Since:
1.2
Author:
hwr@pilhuhn.de

Constructor Summary
InheritanceModel()
           
 
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

InheritanceModel

public InheritanceModel()
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.

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


x2svg version 1.2.1