org.jfree.report.filter.templates
Class RoundRectangleTemplate
java.lang.Object
|
+--org.jfree.report.filter.templates.AbstractTemplate
|
+--org.jfree.report.filter.templates.RoundRectangleTemplate
- public class RoundRectangleTemplate
- extends AbstractTemplate
A template to create rectangle elements. The rectangle always has the width and the
height of 100 points.
This implementation is used to cover the common use of the rectangle shape element. Use
the scaling feature of the shape element to adjust the size of the rectangle.
- Author:
- Thomas Morgner
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
RoundRectangleTemplate
public RoundRectangleTemplate()
- Default Constructor.
getArcWidth
public float getArcWidth()
setArcWidth
public void setArcWidth(float arcWidth)
getArcHeight
public float getArcHeight()
setArcHeight
public void setArcHeight(float arcHeight)
getValue
public java.lang.Object getValue()
- Returns the template value, a Rectangle2D.
- Returns:
- a rectangle with a width and height of 100.