|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.fill.JRTemplatePrintElement
net.sf.jasperreports.engine.fill.JRTemplatePrintGraphicElement
net.sf.jasperreports.engine.fill.JRTemplatePrintRectangle
public class JRTemplatePrintRectangle
Implementation of JRPrintRectangle that uses
a JRTemplateRectangle instance to
store common attributes.
| Field Summary |
|---|
| Fields inherited from class net.sf.jasperreports.engine.fill.JRTemplatePrintElement |
|---|
template |
| Constructor Summary | |
|---|---|
JRTemplatePrintRectangle(JRTemplateRectangle rectangle)
Creates a print rectangle element. |
|
| Method Summary | ||
|---|---|---|
|
accept(PrintElementVisitor<T> visitor,
T arg)
Accepts a print element visitor. |
|
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 class net.sf.jasperreports.engine.fill.JRTemplatePrintGraphicElement |
|---|
getDefaultLineColor, getDefaultLineWidth, getFill, getFillValue, getLinePen, getOwnFill, getOwnFillValue, getOwnPen, getPen, setFill, setFill, setFill, setPen, setPen |
| Methods inherited from class net.sf.jasperreports.engine.fill.JRTemplatePrintElement |
|---|
getBackcolor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getMode, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getTemplate, getWidth, getX, getY, hasProperties, setBackcolor, setForecolor, setHeight, setMode, setMode, setMode, setStyle, setTemplate, setWidth, setX, setY, updateElementTemplate |
| 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.JRPrintGraphicElement |
|---|
getOwnPen, getPen, setFill, setFill, setFill, setPen, setPen |
| Methods inherited from interface net.sf.jasperreports.engine.JRPrintElement |
|---|
getHeight, getKey, getOrigin, getWidth, getX, getY, setHeight, setStyle, setWidth, setX, setY |
| Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder |
|---|
getParentProperties, getPropertiesMap, hasProperties |
| Methods inherited from interface net.sf.jasperreports.engine.JRCommonGraphicElement |
|---|
getFill, getFillValue, getLinePen, getOwnFill, getOwnFillValue |
| Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement |
|---|
getBackcolor, getForecolor, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, setBackcolor, setForecolor, setMode, setMode, setMode |
| Methods inherited from interface net.sf.jasperreports.engine.JRPenContainer |
|---|
getDefaultLineColor, getDefaultLineWidth |
| Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
|---|
getDefaultStyleProvider, getStyle, getStyleNameReference |
| Constructor Detail |
|---|
public JRTemplatePrintRectangle(JRTemplateRectangle rectangle)
rectangle - the template rectangle that the element will use| Method Detail |
|---|
public int getRadius()
JRCommonRectangle
getRadius in interface JRCommonRectanglepublic java.lang.Integer getOwnRadius()
getOwnRadius in interface JRCommonRectanglepublic void setRadius(int radius)
JRCommonRectangle
setRadius in interface JRCommonRectanglesetRadius in interface JRPrintRectanglepublic void setRadius(java.lang.Integer radius)
setRadius in interface JRCommonRectanglesetRadius in interface JRPrintRectangle
public <T> void accept(PrintElementVisitor<T> visitor,
T arg)
JRPrintElementThe element calls the method that corresponds to the element type on the visitor.
accept in interface JRPrintElementaccept in class JRTemplatePrintElementT - the type of the argument passed to the visit operationvisitor - the visitor objectsarg - the argument passed to the visit operation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||