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: RoundRectangleTemplate [javadoc | source]
java.lang.Object
   org.jfree.report.filter.templates.AbstractTemplate
      org.jfree.report.filter.templates.RoundRectangleTemplate

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 RoundRectangleTemplate() 
Method from org.jfree.report.filter.templates.RoundRectangleTemplate Summary:
getArcHeight,   getArcWidth,   getValue,   setArcHeight,   setArcWidth
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.RoundRectangleTemplate Detail:
 public float getArcHeight() 
    Returns the height of the arc that is used to round off the corners of rectangle.
 public float getArcWidth() 
    Returns the width of the arc that is used to round off the corners of rectangle.
 public Object getValue(ExpressionRuntime runtime,
    Element element) 
    Returns the template value, a RoundRectangle2D.
 public  void setArcHeight(float arcHeight) 
    Defines the height of the arc that is used to round off the corners of rectangle.
 public  void setArcWidth(float arcWidth) 
    Defines the width of the arc that is used to round off the corners of rectangle.