net.sf.jasperreports.engine
Interface JRRectangle

All Superinterfaces:
JRChild, JRElement, JRGraphicElement
All Known Implementing Classes:
JRBaseRectangle, JRDesignRectangle, JRFillRectangle

public interface JRRectangle
extends JRGraphicElement

An abstract representation of a graphic element representing a rectangle.

Version:
$Id: JRRectangle.java,v 1.9 2005/06/27 07:16:28 teodord Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Field Summary
 
Fields inherited from interface net.sf.jasperreports.engine.JRGraphicElement
FILL_SOLID, PEN_1_POINT, PEN_2_POINT, PEN_4_POINT, PEN_DOTTED, PEN_NONE, PEN_THIN
 
Fields inherited from interface net.sf.jasperreports.engine.JRElement
MODE_OPAQUE, MODE_TRANSPARENT, POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM, POSITION_TYPE_FIX_RELATIVE_TO_TOP, POSITION_TYPE_FLOAT, STRETCH_TYPE_NO_STRETCH, STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT, STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT
 
Method Summary
 int getRadius()
          Indicates the corner radius for rectangles with round corners.
 void setRadius(int radius)
          Sets the corner radius for rectangles with round corners.
 
Methods inherited from interface net.sf.jasperreports.engine.JRGraphicElement
getFill, getPen, setFill, setPen
 
Methods inherited from interface net.sf.jasperreports.engine.JRElement
collectExpressions, getBackcolor, getElementGroup, getForecolor, getHeight, getKey, getMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX
 
Methods inherited from interface net.sf.jasperreports.engine.JRChild
getCopy, writeXml
 

Method Detail

getRadius

public int getRadius()
Indicates the corner radius for rectangles with round corners. The default is 0.


setRadius

public void setRadius(int radius)
Sets the corner radius for rectangles with round corners.



© 2001-2005 JasperSoft Corporation www.jaspersoft.com