Class SVGClassBox
- java.lang.Object
-
- hudson.plugins.project_inheritance.util.svg.primitives.SVGUnion
-
- hudson.plugins.project_inheritance.util.svg.prefabs.SVGClassBox
-
- All Implemented Interfaces:
SVGPrimitive
public class SVGClassBox extends SVGUnion
This class shows a simple UML-like class box.It consists of the className encapsulated by a box and the body text encapsulated by a box. The size of the boxes are determined by the text, unless specific sizes are given for the main box.
Do note that both className, bodyText and the custom sizes may be null; in which case this box will not actually render anything.
- Author:
- mhschroe
-
-
Constructor Summary
Constructors Constructor Description SVGClassBox(Point2D.Double pos, TextProperty className, URL classURL, TextProperty bodyText, ColorProperty borders)
SVGClassBox(Point2D.Double pos, TextProperty className, URL classURL, TextProperty bodyText, ColorProperty borders, Point2D.Double minSize, Point2D.Double maxSize)
-
Method Summary
-
Methods inherited from class hudson.plugins.project_inheritance.util.svg.primitives.SVGUnion
addElements, getAttachmentPoints, getBounds, getElements, moveTo, removeElements, render, rescale, toString, translate
-
-
-
-
Constructor Detail
-
SVGClassBox
public SVGClassBox(Point2D.Double pos, TextProperty className, URL classURL, TextProperty bodyText, ColorProperty borders)
-
SVGClassBox
public SVGClassBox(Point2D.Double pos, TextProperty className, URL classURL, TextProperty bodyText, ColorProperty borders, Point2D.Double minSize, Point2D.Double maxSize)
-
-