Package net.sf.jasperreports.charts.base
Class JRBaseChart
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseElement
net.sf.jasperreports.charts.base.JRBaseChart
- All Implemented Interfaces:
Serializable,Cloneable,JRChart,JRChangeEventsSupport,JRAnchor,JRBoxContainer,JRChild,JRCloneable,JRCommonElement,JRElement,JREvaluation,JRHyperlink,JRIdentifiable,JRPropertiesHolder,JRStyleContainer,JRVisitable
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JRExpressionprotected intThe bookmark level for the anchor associated with this chart.protected JRExpressionprotected ChartTypeEnumprotected Stringprotected JRChartDatasetprotected Stringprotected EvaluationTimeEnumstatic final Stringprotected JRExpressionprotected JRExpressionprotected JRExpressionprotected JRExpressionprotected Colorprotected Colorprotected JRFontprotected EdgeEnumprotected JRLineBoxprotected Stringprotected Stringprotected JRChartPlotstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected Stringprotected Booleanprotected Colorprotected JRExpressionprotected JRFontprotected Stringprotected Colorprotected JRExpressionprotected JRFontprotected EdgeEnumFields inherited from class net.sf.jasperreports.engine.base.JRBaseElement
backcolor, defaultStyleProvider, elementGroup, forecolor, height, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, key, mode, parentStyle, parentStyleNameReference, positionType, printWhenExpression, printWhenGroupChanges, PROPERTY_POSITION_TYPE, PROPERTY_PRINT_IN_FIRST_WHOLE_BAND, PROPERTY_PRINT_REPEATED_VALUES, PROPERTY_PRINT_WHEN_DETAIL_OVERFLOWS, PROPERTY_REMOVE_LINE_WHEN_BLANK, PROPERTY_STRETCH_TYPE, PROPERTY_WIDTH, PROPERTY_X, stretchType, styleExpression, uuid, width, x, yFields inherited from interface net.sf.jasperreports.engine.JRAnchor
NO_BOOKMARKFields inherited from interface net.sf.jasperreports.charts.JRChart
PROPERTY_CHART_RENDER_TYPE, PROPERTY_CHART_THEME, RENDER_TYPE_DRAW, RENDER_TYPE_IMAGE, RENDER_TYPE_SVGFields inherited from interface net.sf.jasperreports.engine.JRElement
PROPERTY_ELEMENT_TEMPLATE_POPULATE_STYLE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJRBaseChart(JRChart chart, ChartsBaseObjectFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionclone()voidcollectExpressions(JRExpressionCollector collector) intGets the chart type.Gets a user specified chart customizer class name.Gets the chart dataset.getMode()getPlot()Gets the chart plot.Gets the expression whose evaluation will form the subtitle.getTheme()Gets the expression whose evaluation will form the title.Gets the title position relative to the chart.voidsetLegendBackgroundColor(Color legendBackgroundColor) voidsetLegendColor(Color legendColor) voidsetLegendPosition(EdgeEnum legendPosition) voidsetRenderType(String renderType) voidsetShowLegend(Boolean isShowLegend) voidsetSubtitleColor(Color subtitleColor) voidvoidsetTitleColor(Color titleColor) voidsetTitlePosition(EdgeEnum titlePosition) Sets the title position relative to the chart.voidMethods inherited from class net.sf.jasperreports.engine.base.JRBaseElement
clone, clone, getBackcolor, getBaseStyle, getDefaultStyleProvider, getElementGroup, getEventSupport, getForecolor, getHeight, getKey, getOwnBackcolor, getOwnForecolor, getOwnMode, getParentProperties, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertiesMap, getPropertyExpressions, getStretchType, getStyle, getStyleExpression, getStyleNameReference, getStyleResolver, getUUID, getWidth, getX, getY, hasProperties, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setUUID, setWidth, setXMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.jasperreports.charts.JRChart
getChartsStyleResolverMethods inherited from interface net.sf.jasperreports.engine.JRCommonElement
getBackcolor, getForecolor, getHeight, getKey, getOwnBackcolor, getOwnForecolor, getOwnMode, getWidth, setBackcolor, setForecolor, setModeMethods inherited from interface net.sf.jasperreports.engine.JRElement
clone, getElementGroup, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchType, getStyleExpression, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setXMethods inherited from interface net.sf.jasperreports.engine.JRIdentifiable
getUUIDMethods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder
getParentProperties, getPropertiesMap, hasPropertiesMethods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleName, getStyleNameReference
-
Field Details
-
EXCEPTION_MESSAGE_KEY_CHART_TYPE_NOT_SUPPORTED
- See Also:
-
PROPERTY_LEGEND_BACKGROUND_COLOR
- See Also:
-
PROPERTY_LEGEND_COLOR
- See Also:
-
PROPERTY_LEGEND_POSITION
- See Also:
-
PROPERTY_SHOW_LEGEND
- See Also:
-
PROPERTY_SUBTITLE_COLOR
- See Also:
-
PROPERTY_TITLE_COLOR
- See Also:
-
PROPERTY_TITLE_POSITION
- See Also:
-
PROPERTY_RENDER_TYPE
- See Also:
-
PROPERTY_THEME
- See Also:
-
chartType
-
showLegend
-
evaluationTime
-
linkType
-
linkTarget
-
titleColor
-
subtitleColor
-
legendColor
-
legendBackgroundColor
-
legendPosition
-
titlePosition
-
renderType
-
theme
-
lineBox
-
titleFont
-
subtitleFont
-
legendFont
-
customizerClass
-
evaluationGroup
-
titleExpression
-
subtitleExpression
-
anchorNameExpression
-
bookmarkLevelExpression
-
hyperlinkReferenceExpression
-
hyperlinkWhenExpression
-
hyperlinkAnchorExpression
-
hyperlinkPageExpression
-
dataset
-
plot
-
bookmarkLevel
protected int bookmarkLevelThe bookmark level for the anchor associated with this chart.- See Also:
-
-
Constructor Details
-
JRBaseChart
-
-
Method Details
-
getShowLegend
- Specified by:
getShowLegendin interfaceJRChart
-
setShowLegend
- Specified by:
setShowLegendin interfaceJRChart
-
getEvaluationTime
- Specified by:
getEvaluationTimein interfaceJREvaluation
-
getEvaluationGroup
- Specified by:
getEvaluationGroupin interfaceJREvaluation
-
getLineBox
- Specified by:
getLineBoxin interfaceJRBoxContainer
-
getTitleFont
- Specified by:
getTitleFontin interfaceJRChart
-
getTitlePosition
Description copied from interface:JRChartGets the title position relative to the chart.- Specified by:
getTitlePositionin interfaceJRChart
-
setTitlePosition
Description copied from interface:JRChartSets the title position relative to the chart.- Specified by:
setTitlePositionin interfaceJRChart
-
getTitleColor
- Specified by:
getTitleColorin interfaceJRChart
-
getOwnTitleColor
- Specified by:
getOwnTitleColorin interfaceJRChart
-
setTitleColor
- Specified by:
setTitleColorin interfaceJRChart
-
getSubtitleFont
- Specified by:
getSubtitleFontin interfaceJRChart
-
getOwnSubtitleColor
- Specified by:
getOwnSubtitleColorin interfaceJRChart
-
getSubtitleColor
- Specified by:
getSubtitleColorin interfaceJRChart
-
setSubtitleColor
- Specified by:
setSubtitleColorin interfaceJRChart
-
getLegendBackgroundColor
- Specified by:
getLegendBackgroundColorin interfaceJRChart
-
getOwnLegendBackgroundColor
- Specified by:
getOwnLegendBackgroundColorin interfaceJRChart
-
getOwnLegendColor
- Specified by:
getOwnLegendColorin interfaceJRChart
-
getLegendColor
- Specified by:
getLegendColorin interfaceJRChart
-
getLegendFont
- Specified by:
getLegendFontin interfaceJRChart
-
setLegendBackgroundColor
- Specified by:
setLegendBackgroundColorin interfaceJRChart
-
setLegendColor
- Specified by:
setLegendColorin interfaceJRChart
-
getLegendPosition
- Specified by:
getLegendPositionin interfaceJRChart
-
setLegendPosition
- Specified by:
setLegendPositionin interfaceJRChart
-
getHyperlinkType
- Specified by:
getHyperlinkTypein interfaceJRHyperlink
-
getHyperlinkTarget
- Specified by:
getHyperlinkTargetin interfaceJRHyperlink
-
getTitleExpression
Description copied from interface:JRChartGets the expression whose evaluation will form the title.- Specified by:
getTitleExpressionin interfaceJRChart
-
getSubtitleExpression
Description copied from interface:JRChartGets the expression whose evaluation will form the subtitle.- Specified by:
getSubtitleExpressionin interfaceJRChart
-
getBookmarkLevelExpression
- Specified by:
getBookmarkLevelExpressionin interfaceJRAnchor
-
getAnchorNameExpression
- Specified by:
getAnchorNameExpressionin interfaceJRAnchor
-
getHyperlinkReferenceExpression
- Specified by:
getHyperlinkReferenceExpressionin interfaceJRHyperlink
-
getHyperlinkWhenExpression
- Specified by:
getHyperlinkWhenExpressionin interfaceJRHyperlink
-
getHyperlinkAnchorExpression
- Specified by:
getHyperlinkAnchorExpressionin interfaceJRHyperlink
-
getHyperlinkPageExpression
- Specified by:
getHyperlinkPageExpressionin interfaceJRHyperlink
-
getDataset
Description copied from interface:JRChartGets the chart dataset. Most chart types have different dataset structures, depending on the chart type.- Specified by:
getDatasetin interfaceJRChart
-
getPlot
Description copied from interface:JRChartGets the chart plot. Plots are used to define various chart visual properties, such as colors and transparency. -
getChartType
Description copied from interface:JRChartGets the chart type. It must be one of the chart type constants in this class.- Specified by:
getChartTypein interfaceJRChart
-
getRenderType
- Specified by:
getRenderTypein interfaceJRChart
-
setRenderType
- Specified by:
setRenderTypein interfaceJRChart
-
getTheme
-
setTheme
-
collectExpressions
- Specified by:
collectExpressionsin interfaceJRElement
-
visit
- Specified by:
visitin interfaceJRVisitable
-
getBookmarkLevel
public int getBookmarkLevel()- Specified by:
getBookmarkLevelin interfaceJRAnchor
-
getCustomizerClass
Description copied from interface:JRChartGets a user specified chart customizer class name.- Specified by:
getCustomizerClassin interfaceJRChart- See Also:
-
getMode
- Specified by:
getModein interfaceJRCommonElement- Overrides:
getModein classJRBaseElement
-
getLinkType
- Specified by:
getLinkTypein interfaceJRHyperlink
-
getLinkTarget
- Specified by:
getLinkTargetin interfaceJRHyperlink
-
getHyperlinkParameters
- Specified by:
getHyperlinkParametersin interfaceJRHyperlink
-
getHyperlinkTooltipExpression
- Specified by:
getHyperlinkTooltipExpressionin interfaceJRHyperlink
-
getDefaultLineColor
- Specified by:
getDefaultLineColorin interfaceJRBoxContainer
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classJRBaseElement
-