|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.bsd.x2svg.draw.ContentModel de.bsd.x2svg.draw.ChoiceModel de.bsd.x2svg.draw.InheritanceModel
public class InheritanceModel
Inheritance content model specifies that the elements on the right side inherit from the element on the left side.
Example:
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 |
---|
public InheritanceModel()
Method Detail |
---|
public void draw(org.apache.batik.svggen.SVGGraphics2D svg, int topX, int topY)
draw
in class ChoiceModel
svg
- svg canvas to draw ontopX
- top left corner of the boxtopY
- top left corner of the boxContentModel.draw(org.apache.batik.svggen.SVGGraphics2D, int, int)
,
ChoiceModel.draw(SVGGraphics2D, int, int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |