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, setPen
getBackcolor, 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, updateElementTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOwnPen, getPen, setFill, setFill, setFill, setPen, setPen
getHeight, getKey, getOrigin, getWidth, getX, getY, setHeight, setStyle, setWidth, setX, setY
getParentProperties, getPropertiesMap, hasProperties
getFill, getFillValue, getLinePen, getOwnFill, getOwnFillValue
getBackcolor, getForecolor, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, setBackcolor, setForecolor, setMode, setMode, setMode
getDefaultLineColor, getDefaultLineWidth
getDefaultStyleProvider, getStyle, getStyleNameReference
public JRTemplatePrintRectangle(JRTemplateRectangle rectangle)
rectangle
- the template rectangle that the element will usepublic int getRadius()
JRCommonRectangle
getRadius
in interface JRCommonRectangle
public java.lang.Integer getOwnRadius()
getOwnRadius
in interface JRCommonRectangle
public void setRadius(int radius)
JRCommonRectangle
setRadius
in interface JRCommonRectangle
setRadius
in interface JRPrintRectangle
public void setRadius(java.lang.Integer radius)
setRadius
in interface JRCommonRectangle
setRadius
in interface JRPrintRectangle
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com