Package net.sf.jasperreports.engine
Interface JRCommonGraphicElement
-
- All Superinterfaces:
JRCommonElement
,JRPenContainer
,JRStyleContainer
- All Known Subinterfaces:
JRCommonImage
,JREllipse
,JRGraphicElement
,JRImage
,JRLine
,JRPrintEllipse
,JRPrintGraphicElement
,JRPrintImage
,JRPrintLine
,JRPrintRectangle
,JRRectangle
- All Known Implementing Classes:
ChartTemplateImage
,JRBaseEllipse
,JRBaseGraphicElement
,JRBaseImage
,JRBaseLine
,JRBasePrintEllipse
,JRBasePrintGraphicElement
,JRBasePrintImage
,JRBasePrintLine
,JRBasePrintRectangle
,JRBaseRectangle
,JRDesignEllipse
,JRDesignGraphicElement
,JRDesignImage
,JRDesignLine
,JRDesignRectangle
,JRFillEllipse
,JRFillGraphicElement
,JRFillImage
,JRFillLine
,JRFillRectangle
,JRRecordedValuesPrintImage
,JRTemplateEllipse
,JRTemplateGraphicElement
,JRTemplateImage
,JRTemplateLine
,JRTemplatePrintEllipse
,JRTemplatePrintGraphicElement
,JRTemplatePrintImage
,JRTemplatePrintLine
,JRTemplatePrintRectangle
,JRTemplateRectangle
public interface JRCommonGraphicElement extends JRCommonElement, JRPenContainer
An abstract representation of a report graphic element. It provides basic functionality for images, lines, rectangles and ellipses. Graphic elements are the second major category of report elements. This category includes lines, rectangles, ellipses and images. They all have some properties in common, which are grouped under the attributes of the<graphicElement>
tag.Background Fill Style
Thefill
attribute specifies the style of the background of the graphic elements. The only style currently supported is the solid fill style, which is also the default (fill="Solid"
). ThegetFill()
method can be used to access the fill setting.Line Settings
Other common settings for graphic elements are the line width, line style and the line color. These are grouped together into the<pen>
tag and can be accessed using thegetLinePen()
method.- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
JRPen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FillEnum
getFill()
Indicates the fill type used for this element.JRPen
getLinePen()
FillEnum
getOwnFill()
Indicates the own fill type used for this element.void
setFill(FillEnum fillEnum)
Sets the fill type used for this element.-
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement
getBackcolor, getForecolor, getHeight, getKey, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getWidth, setBackcolor, setForecolor, setMode
-
Methods inherited from interface net.sf.jasperreports.engine.JRPenContainer
getDefaultLineColor, getDefaultLineWidth
-
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleName, getStyleNameReference
-
-
-
-
Method Detail
-
getLinePen
JRPen getLinePen()
-
getFill
FillEnum getFill()
Indicates the fill type used for this element.- Returns:
- a value representing one of the fill type constants in
FillEnum
-
getOwnFill
FillEnum getOwnFill()
Indicates the own fill type used for this element.- Returns:
- a value representing one of the fill type constants in
FillEnum
-
-