public class JRBasePrintRectangle extends JRBasePrintGraphicElement implements JRPrintRectangle
Modifier and Type | Field and Description |
---|---|
protected Integer |
radius |
fillValue, linePen
backcolor, defaultStyleProvider, forecolor, height, key, modeValue, origin, style, uuid, width, x, y
UNSET_PRINT_ELEMENT_ID, UNSET_SOURCE_ELEMENT_ID
Constructor and Description |
---|
JRBasePrintRectangle(JRDefaultStyleProvider defaultStyleProvider) |
Modifier and Type | Method and Description |
---|---|
<T> void |
accept(PrintElementVisitor<T> visitor,
T arg)
Accepts a print element visitor.
|
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(Integer radius) |
copyPen, getDefaultLineColor, getDefaultLineWidth, getFillValue, getLinePen, getOwnFillValue, setFill
getBackcolor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPrintElementId, getPropertiesMap, getSourceElementId, getStyle, getStyleNameReference, getStyleResolver, getUUID, getWidth, getX, getY, hasProperties, setBackcolor, setForecolor, setHeight, setKey, setMode, setOrigin, setPrintElementId, setSourceElementId, setStyle, setUUID, setWidth, setX, setY
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setFill
getHeight, getKey, getOrigin, getPrintElementId, getSourceElementId, getWidth, getX, getY, setHeight, setStyle, setUUID, setWidth, setX, setY
getParentProperties, getPropertiesMap, hasProperties
getUUID
getFillValue, getLinePen, getOwnFillValue
getBackcolor, getForecolor, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, setBackcolor, setForecolor, setMode
getDefaultLineColor, getDefaultLineWidth
getDefaultStyleProvider, getStyle, getStyleNameReference
protected Integer radius
public JRBasePrintRectangle(JRDefaultStyleProvider defaultStyleProvider)
public int getRadius()
JRCommonRectangle
getRadius
in interface JRCommonRectangle
public Integer getOwnRadius()
getOwnRadius
in interface JRCommonRectangle
public void setRadius(int radius)
JRCommonRectangle
setRadius
in interface JRCommonRectangle
setRadius
in interface JRPrintRectangle
public void setRadius(Integer radius)
setRadius
in interface JRCommonRectangle
setRadius
in interface JRPrintRectangle
public <T> void accept(PrintElementVisitor<T> visitor, T arg)
JRPrintElement
The element calls the method that corresponds to the element type on the visitor.
accept
in interface JRPrintElement
accept
in class JRBasePrintElement
T
- the type of the argument passed to the visit operationvisitor
- the visitor objectsarg
- the argument passed to the visit operationCopyright © 2017. All rights reserved.