net.sf.jasperreports.engine
Interface JRRectangle

All Superinterfaces:
JRChild, JRElement, JRGraphicElement, JRStyleContainer
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.11 2005/11/28 09:20:44 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
 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)
           
 
Methods inherited from interface net.sf.jasperreports.engine.JRGraphicElement
getFill, getOwnFill, getOwnPen, getPen, setFill, setFill, setPen, setPen
 
Methods inherited from interface net.sf.jasperreports.engine.JRElement
collectExpressions, 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
 
Methods inherited from interface net.sf.jasperreports.engine.JRChild
getCopy, writeXml
 
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle
 

Method Detail

getRadius

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


getOwnRadius

public java.lang.Integer getOwnRadius()

setRadius

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


setRadius

public void setRadius(java.lang.Integer radius)


© 2001-2005 JasperSoft Corporation www.jaspersoft.com