public class JRTemplateRectangle extends JRTemplateGraphicElement implements JRCommonRectangle
JRTemplatePrintRectangle,
Serialized FormlinePendefaultStyleProvider, origin, parentStyle| Modifier | Constructor and Description |
|---|---|
|
JRTemplateRectangle(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider)
Creates a template rectangle.
|
protected |
JRTemplateRectangle(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider,
JRRectangle rectangle) |
protected |
JRTemplateRectangle(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider,
JRSubreport subreport) |
| 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) |
protected void |
setRectangle(JRRectangle rectangle) |
protected void |
setSubreport(JRSubreport subreport) |
copyLinePen, getDefaultLineColor, getDefaultLineWidth, getFill, getFillValue, getLinePen, getOwnFill, getOwnFillValue, getOwnPen, getPen, setFill, setFill, setFill, setGraphicElement, setPen, setPengetBackcolor, getBaseStyle, getDefaultStyleProvider, getForecolor, getHeight, getId, getKey, getMode, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getWidth, hasProperties, setBackcolor, setElement, setForecolor, setKey, setMode, setMode, setMode, setStyleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultStyleProvider, getStyle, getStyleNameReferencegetBackcolor, getForecolor, getHeight, getKey, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setModeprotected JRTemplateRectangle(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider, JRRectangle rectangle)
protected JRTemplateRectangle(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider, JRSubreport subreport)
public JRTemplateRectangle(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider)
origin - the origin of the elements that will use this templatedefaultStyleProvider - the default style provider to use for
this templateprotected void setRectangle(JRRectangle rectangle)
protected void setSubreport(JRSubreport subreport)
public int getRadius()
JRCommonRectanglegetRadius in interface JRCommonRectanglepublic java.lang.Integer getOwnRadius()
getOwnRadius in interface JRCommonRectanglepublic void setRadius(int radius)
JRCommonRectanglesetRadius in interface JRCommonRectanglepublic void setRadius(java.lang.Integer radius)
setRadius in interface JRCommonRectangle© 2001-2010 Jaspersoft Corporation www.jaspersoft.com