Class StandardChartSettings
java.lang.Object
net.sf.jasperreports.components.spiderchart.StandardChartSettings
- All Implemented Interfaces:
Serializable,Cloneable,ChartSettings,JRChangeEventsSupport,JRAnchor,JRCloneable,JRHyperlink
- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JRExpressionprotected Colorprotected intThe bookmark level for the anchor associated with this chart.protected JRExpressionprotected Stringprotected JRExpressionprotected JRExpressionprotected List<JRHyperlinkParameter> protected JRExpressionprotected JRExpressionprotected JRExpressionprotected Colorprotected Colorprotected JRFontprotected EdgeEnumprotected Stringprotected Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected Stringprotected Booleanprotected Colorprotected JRExpressionprotected JRFontprotected Colorprotected JRExpressionprotected JRFontprotected EdgeEnumFields inherited from interface net.sf.jasperreports.engine.JRAnchor
NO_BOOKMARK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHyperlinkParameter(JRHyperlinkParameter parameter) Adds a custom hyperlink parameter.clone()voidcollectExpressions(JRExpressionCollector collector) intGets a user specified chart customizer class name.Returns the list of custom hyperlink parameters.voidremoveHyperlinkParameter(String parameterName) Removes a custom hyperlink parameter.voidremoveHyperlinkParameter(JRHyperlinkParameter parameter) Removes a custom hyperlink parameter.voidsetAnchorNameExpression(JRExpression anchorNameExpression) voidsetBackcolor(Color backcolor) voidsetBookmarkLevel(int bookmarkLevel) voidsetBookmarkLevelExpression(JRExpression bookmarkLevelExpression) voidsetCustomizerClass(String customizerClass) voidsetHyperlinkAnchorExpression(JRExpression hyperlinkAnchorExpression) voidsetHyperlinkPageExpression(JRExpression hyperlinkPageExpression) voidsetHyperlinkReferenceExpression(JRExpression hyperlinkReferenceExpression) voidsetHyperlinkTooltipExpression(JRExpression hyperlinkTooltipExpression) voidsetHyperlinkWhenExpression(JRExpression hyperlinkWhenExpression) voidsetLegendBackgroundColor(Color legendBackgroundColor) voidsetLegendColor(Color legendColor) voidsetLegendFont(JRFont legendFont) voidsetLegendPosition(EdgeEnum legendPosition) voidsetLinkTarget(String linkTarget) voidsetLinkType(String linkType) voidsetRenderType(String renderType) voidsetShowLegend(Boolean isShowLegend) voidsetSubtitleColor(Color subtitleColor) voidsetSubtitleExpression(JRExpression subtitleExpression) voidsetSubtitleFont(JRFont subtitleFont) voidsetTitleColor(Color titleColor) voidsetTitleExpression(JRExpression titleExpression) voidsetTitleFont(JRFont titleFont) voidsetTitlePosition(EdgeEnum titlePosition)
-
Field Details
-
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_BOOKMARK_LEVEL
- See Also:
-
PROPERTY_BACKCOLOR
- See Also:
-
PROPERTY_ANCHOR_NAME_EXPRESSION
- See Also:
-
PROPERTY_BOOKMARK_LEVEL_EXPRESSION
- See Also:
-
PROPERTY_EVALUATION_GROUP
- See Also:
-
PROPERTY_EVALUATION_TIME
- See Also:
-
PROPERTY_CHART_TYPE
- See Also:
-
PROPERTY_LEGEND_FONT
- See Also:
-
PROPERTY_SUBTITLE_EXPRESSION
- See Also:
-
PROPERTY_SUBTITLE_FONT
- See Also:
-
PROPERTY_TITLE_EXPRESSION
- See Also:
-
PROPERTY_TITLE_FONT
- See Also:
-
PROPERTY_HYPERLINK_ANCHOR_EXPRESSION
- See Also:
-
PROPERTY_HYPERLINK_PAGE_EXPRESSION
- See Also:
-
PROPERTY_HYPERLINK_REFERENCE_EXPRESSION
- See Also:
-
PROPERTY_HYPERLINK_WHEN_EXPRESSION
- See Also:
-
PROPERTY_HYPERLINK_TARGET
- See Also:
-
PROPERTY_LINK_TARGET
- See Also:
-
PROPERTY_HYPERLINK_TOOLTIP_EXPRESSION
- See Also:
-
PROPERTY_LINK_TYPE
- See Also:
-
PROPERTY_HYPERLINK_PARAMETERS
- See Also:
-
PROPERTY_CUSTOMIZER_CLASS
- See Also:
-
showLegend
-
linkType
-
linkTarget
-
hyperlinkParameters
-
backcolor
-
titleColor
-
subtitleColor
-
legendColor
-
legendBackgroundColor
-
legendPosition
-
titlePosition
-
renderType
-
titleFont
-
subtitleFont
-
legendFont
-
titleExpression
-
subtitleExpression
-
anchorNameExpression
-
bookmarkLevelExpression
-
hyperlinkReferenceExpression
-
hyperlinkWhenExpression
-
hyperlinkAnchorExpression
-
hyperlinkPageExpression
-
hyperlinkTooltipExpression
-
customizerClass
-
bookmarkLevel
protected int bookmarkLevelThe bookmark level for the anchor associated with this chart.- See Also:
-
-
Constructor Details
-
StandardChartSettings
public StandardChartSettings() -
StandardChartSettings
-
-
Method Details
-
getShowLegend
- Specified by:
getShowLegendin interfaceChartSettings
-
setShowLegend
-
getBackcolor
- Specified by:
getBackcolorin interfaceChartSettings
-
setBackcolor
-
getTitleFont
- Specified by:
getTitleFontin interfaceChartSettings
-
getTitlePosition
- Specified by:
getTitlePositionin interfaceChartSettings
-
setTitlePosition
-
getTitleColor
- Specified by:
getTitleColorin interfaceChartSettings
-
setTitleColor
-
getSubtitleFont
- Specified by:
getSubtitleFontin interfaceChartSettings
-
getSubtitleColor
- Specified by:
getSubtitleColorin interfaceChartSettings
-
setSubtitleColor
-
getLegendBackgroundColor
- Specified by:
getLegendBackgroundColorin interfaceChartSettings
-
getLegendColor
- Specified by:
getLegendColorin interfaceChartSettings
-
getLegendFont
- Specified by:
getLegendFontin interfaceChartSettings
-
setLegendBackgroundColor
-
setLegendColor
-
getLegendPosition
- Specified by:
getLegendPositionin interfaceChartSettings
-
setLegendPosition
-
getHyperlinkType
- Specified by:
getHyperlinkTypein interfaceJRHyperlink
-
getHyperlinkTarget
- Specified by:
getHyperlinkTargetin interfaceJRHyperlink
-
getTitleExpression
- Specified by:
getTitleExpressionin interfaceChartSettings
-
getSubtitleExpression
- Specified by:
getSubtitleExpressionin interfaceChartSettings
-
getAnchorNameExpression
- Specified by:
getAnchorNameExpressionin interfaceJRAnchor
-
getBookmarkLevelExpression
- Specified by:
getBookmarkLevelExpressionin interfaceJRAnchor
-
getHyperlinkReferenceExpression
- Specified by:
getHyperlinkReferenceExpressionin interfaceJRHyperlink
-
getHyperlinkWhenExpression
- Specified by:
getHyperlinkWhenExpressionin interfaceJRHyperlink
-
getHyperlinkAnchorExpression
- Specified by:
getHyperlinkAnchorExpressionin interfaceJRHyperlink
-
getHyperlinkPageExpression
- Specified by:
getHyperlinkPageExpressionin interfaceJRHyperlink
-
getRenderType
- Specified by:
getRenderTypein interfaceChartSettings
-
setRenderType
-
getBookmarkLevel
public int getBookmarkLevel()- Specified by:
getBookmarkLevelin interfaceJRAnchor
-
setBookmarkLevel
public void setBookmarkLevel(int bookmarkLevel) -
getLinkType
- Specified by:
getLinkTypein interfaceJRHyperlink
-
getLinkTarget
- Specified by:
getLinkTargetin interfaceJRHyperlink
-
getHyperlinkTooltipExpression
- Specified by:
getHyperlinkTooltipExpressionin interfaceJRHyperlink
-
getCustomizerClass
Description copied from interface:ChartSettingsGets a user specified chart customizer class name.- Specified by:
getCustomizerClassin interfaceChartSettings- Returns:
- the customizerClass
- See Also:
-
setLinkType
- Parameters:
linkType- the linkType to set
-
setLinkTarget
- Parameters:
linkTarget- the linkTarget to set
-
setTitleFont
- Parameters:
titleFont- the titleFont to set
-
setSubtitleFont
- Parameters:
subtitleFont- the subtitleFont to set
-
setLegendFont
- Parameters:
legendFont- the legendFont to set
-
setTitleExpression
- Parameters:
titleExpression- the titleExpression to set
-
setSubtitleExpression
- Parameters:
subtitleExpression- the subtitleExpression to set
-
setAnchorNameExpression
- Parameters:
anchorNameExpression- the anchorNameExpression to set
-
setBookmarkLevelExpression
- Parameters:
bookmarkLevelExpression- the bookmarkLevelExpression to set
-
setHyperlinkReferenceExpression
- Parameters:
hyperlinkReferenceExpression- the hyperlinkReferenceExpression to set
-
setHyperlinkWhenExpression
- Parameters:
hyperlinkWhenExpression- the hyperlinkWhenExpression to set
-
setHyperlinkAnchorExpression
- Parameters:
hyperlinkAnchorExpression- the hyperlinkAnchorExpression to set
-
setHyperlinkPageExpression
- Parameters:
hyperlinkPageExpression- the hyperlinkPageExpression to set
-
setHyperlinkTooltipExpression
- Parameters:
hyperlinkTooltipExpression- the hyperlinkTooltipExpression to set
-
setCustomizerClass
- Parameters:
customizerClass- the customizerClass to set
-
collectExpressions
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-
getEventSupport
- Specified by:
getEventSupportin interfaceJRChangeEventsSupport
-
getHyperlinkParameters
- Specified by:
getHyperlinkParametersin interfaceJRHyperlink
-
getHyperlinkParametersList
Returns the list of custom hyperlink parameters.- Returns:
- the list of custom hyperlink parameters
-
addHyperlinkParameter
Adds a custom hyperlink parameter.- Parameters:
parameter- the parameter to add
-
removeHyperlinkParameter
Removes a custom hyperlink parameter.- Parameters:
parameter- the parameter to remove
-
removeHyperlinkParameter
Removes a custom hyperlink parameter.If multiple parameters having the specified name exist, all of them will be removed
- Parameters:
parameterName- the parameter name
-