Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org » jfree » report » filter » templates » [javadoc | source]
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.

Constructor:
 public RectangleTemplate() 
Method from org.jfree.report.filter.templates.RectangleTemplate Summary:
getValue
Methods from org.jfree.report.filter.templates.AbstractTemplate:
clone,   getInstance,   getName,   setName
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.report.filter.templates.RectangleTemplate Detail:
 public Object getValue(ExpressionRuntime runtime,
    Element element) 
    Returns the template value, a Rectangle2D.