de.bsd.x2svg.draw
Class ChoiceModel

java.lang.Object
  extended by de.bsd.x2svg.draw.ContentModel
      extended by de.bsd.x2svg.draw.ChoiceModel
Direct Known Subclasses:
InheritanceModel

public class ChoiceModel
extends ContentModel

Draw a Choice content model

Example:

Since:
1.0
Author:
hwr@pilhuhn.de

Constructor Summary
ChoiceModel()
           
 
Method Summary
 void draw(org.apache.batik.svggen.SVGGraphics2D svg, int topX, int topY)
          Draw the box with its content
 
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

ChoiceModel

public ChoiceModel()
Method Detail

draw

public void draw(org.apache.batik.svggen.SVGGraphics2D svg,
                 int topX,
                 int topY)
Draw the box with its content

Specified by:
draw in class ContentModel
Parameters:
svg - svg canvas to draw on
topX - top left corner of the box
topY - top left corner of the box


x2svg version 1.2.1