net.sf.jasperreports.engine.base
Class JRBaseRectangle
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseElement
net.sf.jasperreports.engine.base.JRBaseGraphicElement
net.sf.jasperreports.engine.base.JRBaseRectangle
- All Implemented Interfaces:
- java.io.Serializable, JRChild, JRElement, JRGraphicElement, JRRectangle, JRStyleContainer
public class JRBaseRectangle
- extends JRBaseGraphicElement
- implements JRRectangle
The actual implementation of a graphic element representing a rectangle.
- Version:
- $Id: JRBaseRectangle.java 1229 2006-04-19 13:27:35 +0300 (Wed, 19 Apr 2006) teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
Field Summary |
protected java.lang.Integer |
radius
|
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseElement |
backcolor, defaultStyleProvider, elementGroup, forecolor, height, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, key, mode, parentStyle, positionType, printWhenExpression, printWhenGroupChanges, stretchType, width, x, y |
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseElement |
getBackcolor, getBaseStyle, getDefaultStyleProvider, getElementGroup, getForecolor, getHeight, getKey, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getStyle, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jasperreports.engine.JRElement |
getBackcolor, getElementGroup, getForecolor, getHeight, getKey, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
radius
protected java.lang.Integer radius
JRBaseRectangle
protected JRBaseRectangle(JRRectangle rectangle,
JRBaseObjectFactory factory)
- Initializes properties that are specific to rectangles. Common properties are initialized by its
parent constructors.
- Parameters:
rectangle
- an element whose properties are copied to this element. Usually it is a
JRDesignRectangle
that must be transformed into an
JRBaseRectangle at compile time.factory
- a factory used in the compile process
getRadius
public int getRadius()
- Description copied from interface:
JRRectangle
- Indicates the corner radius for rectangles with round corners. The default is 0.
- Specified by:
getRadius
in interface JRRectangle
getOwnRadius
public java.lang.Integer getOwnRadius()
- Specified by:
getOwnRadius
in interface JRRectangle
setRadius
public void setRadius(int radius)
- Description copied from interface:
JRRectangle
- Sets the corner radius for rectangles with round corners.
- Specified by:
setRadius
in interface JRRectangle
setRadius
public void setRadius(java.lang.Integer radius)
- Specified by:
setRadius
in interface JRRectangle
getCopy
public JRChild getCopy(JRAbstractObjectFactory factory)
- Specified by:
getCopy
in interface JRChild
collectExpressions
public void collectExpressions(JRExpressionCollector collector)
- Specified by:
collectExpressions
in interface JRElement
writeXml
public void writeXml(JRXmlWriter xmlWriter)
throws java.io.IOException
- Specified by:
writeXml
in interface JRChild
- Throws:
java.io.IOException
© 2001-2006 JasperSoft Corporation www.jaspersoft.com