org.jfree.report.filter.templates
public class: RectangleTemplate [javadoc |
source]
java.lang.Object
org.jfree.report.filter.templates.AbstractTemplate
org.jfree.report.filter.templates.RectangleTemplate
All Implemented Interfaces:
Template
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.
| Method from org.jfree.report.filter.templates.RectangleTemplate Summary: |
|---|
|
getValue |
| Method from org.jfree.report.filter.templates.RectangleTemplate Detail: |
public Object getValue(ExpressionRuntime runtime,
Element element) {
return new Rectangle2D.Float(0, 0, 100, 100);
}
Returns the template value, a Rectangle2D. |