public class JRTemplateRectangle extends JRTemplateGraphicElement implements JRCommonRectangle
JRTemplatePrintRectangle
,
Serialized FormlinePen
defaultStyleProvider, 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, setPen
getBackcolor, 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, setStyle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultStyleProvider, getStyle, getStyleNameReference
getBackcolor, getForecolor, getHeight, getKey, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode
protected 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()
JRCommonRectangle
getRadius
in interface JRCommonRectangle
public java.lang.Integer getOwnRadius()
getOwnRadius
in interface JRCommonRectangle
public void setRadius(int radius)
JRCommonRectangle
setRadius
in interface JRCommonRectangle
public void setRadius(java.lang.Integer radius)
setRadius
in interface JRCommonRectangle
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com