net.sf.jasperreports.engine.fill
public class JRTemplatePrintRectangle extends JRTemplatePrintGraphicElement implements JRPrintRectangle
JRPrintRectangle that uses
a JRTemplateRectangle instance to
store common attributes.template| Constructor and Description |
|---|
JRTemplatePrintRectangle(JRTemplateRectangle rectangle)
Creates a print rectangle element.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getOwnRadius() |
int |
getRadius()
Indicates the corner radius for rectangles with round corners.
|
void |
setRadius(int radius)
Sets the corner radius for rectangles with round corners.
|
void |
setRadius(java.lang.Integer radius) |
getDefaultLineColor, getDefaultLineWidth, getFill, getFillValue, getLinePen, getOwnFill, getOwnFillValue, getOwnPen, getPen, setFill, setFill, setFill, setPen, setPengetBackcolor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getMode, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getTemplate, getWidth, getX, getY, hasProperties, setBackcolor, setForecolor, setHeight, setMode, setMode, setMode, setStyle, setTemplate, setWidth, setX, setY, updateElementTemplateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOwnPen, getPen, setFill, setFill, setFill, setPen, setPengetHeight, getKey, getOrigin, getWidth, getX, getY, setHeight, setStyle, setWidth, setX, setYgetParentProperties, getPropertiesMap, hasPropertiesgetFill, getFillValue, getLinePen, getOwnFill, getOwnFillValuegetBackcolor, getForecolor, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, setBackcolor, setForecolor, setMode, setMode, setModegetDefaultLineColor, getDefaultLineWidthgetDefaultStyleProvider, getStyle, getStyleNameReferencepublic JRTemplatePrintRectangle(JRTemplateRectangle rectangle)
rectangle - the template rectangle that the element will usepublic int getRadius()
JRCommonRectanglegetRadius in interface JRCommonRectanglepublic java.lang.Integer getOwnRadius()
getOwnRadius in interface JRCommonRectanglepublic void setRadius(int radius)
JRCommonRectanglesetRadius in interface JRCommonRectanglesetRadius in interface JRPrintRectanglepublic void setRadius(java.lang.Integer radius)
setRadius in interface JRCommonRectanglesetRadius in interface JRPrintRectangle© 2001-2010 Jaspersoft Corporation www.jaspersoft.com