|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.filter.templates.AbstractTemplate
org.pentaho.reporting.engine.classic.core.filter.templates.RoundRectangleTemplate
public class RoundRectangleTemplate
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 Summary | |
---|---|
RoundRectangleTemplate()
Default Constructor. |
Method Summary | |
---|---|
float |
getArcHeight()
Returns the height of the arc that is used to round off the corners of rectangle. |
float |
getArcWidth()
Returns the width of the arc that is used to round off the corners of rectangle. |
Object |
getValue(ExpressionRuntime runtime,
Element element)
Returns the template value, a RoundRectangle2D. |
void |
setArcHeight(float arcHeight)
Defines the height of the arc that is used to round off the corners of rectangle. |
void |
setArcWidth(float arcWidth)
Defines the width of the arc that is used to round off the corners of rectangle. |
Methods inherited from class org.pentaho.reporting.engine.classic.core.filter.templates.AbstractTemplate |
---|
clone, getInstance, getName, setName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoundRectangleTemplate()
Method Detail |
---|
public float getArcWidth()
public void setArcWidth(float arcWidth)
arcWidth
- the width of the corner arcs.public float getArcHeight()
public void setArcHeight(float arcHeight)
arcHeight
- the height of the corner arcs.public Object getValue(ExpressionRuntime runtime, Element element)
runtime
- the expression runtime that is used to evaluate formulas and expressions when computing the value of
this filter.element
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |