Package net.sf.jasperreports.charts.fill
Class JRFillChartForAxis
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.JRFillElement
-
- net.sf.jasperreports.charts.fill.JRFillChart
-
- net.sf.jasperreports.charts.fill.JRFillChartForAxis
-
- All Implemented Interfaces:
Cloneable
,JRChart
,DynamicPropertiesHolder
,JRFillCloneable
,JRAnchor
,JRBoxContainer
,JRChild
,JRCloneable
,JRCommonElement
,JRElement
,JREvaluation
,JRHyperlink
,JRIdentifiable
,JRPropertiesHolder
,JRStyleContainer
,JRStyleSetter
,JRVisitable
public class JRFillChartForAxis extends JRFillChart
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected JRChart
parentChart
-
Fields inherited from class net.sf.jasperreports.charts.fill.JRFillChart
chartCustomizers, chartHyperlinkProvider, chartType, dataset, EXCEPTION_MESSAGE_KEY_CUSTOMIZER_INSTANCE_ERROR, EXCEPTION_MESSAGE_KEY_MULTIAXIS_PLOT_NOT_SUPPORTED, EXCEPTION_MESSAGE_KEY_MULTIAXIS_PLOT_TYPES_MIX_NOT_ALLOWED, initLineBox, jfreeChart, legendFont, lineBox, plot, renderer, renderType, subtitleFont, theme, titleFont
-
Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElement
band, conditionalStylesContainer, currentEvaluation, currentStyle, defaultPopulateTemplateStyle, defaultStyleProvider, delayedEvaluationsMap, dynamicProperties, dynamicTransferProperties, elementGroup, EXCEPTION_MESSAGE_KEY_INVALID_BOOKMARK_LEVEL, expressionEvaluator, exprStyle, fillContainerContext, filler, hasDynamicPopulateTemplateStyle, initStyle, mergedProperties, originProvider, parent, printElementOriginator, printWhenGroupChanges, propertyExpressions, providerStyle, staticProperties, staticTransferProperties, styleProviders, templates
-
Fields inherited from interface net.sf.jasperreports.engine.JRAnchor
NO_BOOKMARK
-
Fields inherited from interface net.sf.jasperreports.charts.JRChart
PROPERTY_CHART_RENDER_TYPE, PROPERTY_CHART_THEME, RENDER_TYPE_DRAW, RENDER_TYPE_IMAGE, RENDER_TYPE_SVG
-
Fields inherited from interface net.sf.jasperreports.engine.JRElement
PROPERTY_ELEMENT_TEMPLATE_POPULATE_STYLE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JRFillChartForAxis(JRFillChart fillChart, ChartsFillObjectFactory factory, JRChart parentChart)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getBackcolor()
Color
getLegendBackgroundColor()
Returns the color to use as the background of the legend.Color
getLegendColor()
Returns the inherited color to use for text in the legend.JRFont
getLegendFont()
Returns the font to use in the legend.EdgeEnum
getLegendPosition()
String
getRenderType()
Boolean
getShowLegend()
Color
getSubtitleColor()
JRExpression
getSubtitleExpression()
Gets the expression whose evaluation will form the subtitle.JRFont
getSubtitleFont()
String
getTheme()
Color
getTitleColor()
JRExpression
getTitleExpression()
Gets the expression whose evaluation will form the title.JRFont
getTitleFont()
EdgeEnum
getTitlePosition()
Gets the title position relative to the chart.-
Methods inherited from class net.sf.jasperreports.charts.fill.JRFillChart
collectExpressions, convertInterval, convertRange, copy, createAndInitCustomizer, createChartHyperlinkProvider, createClone, createElementTemplate, createMultiAxisChart, evaluate, evaluateChart, evaluateRenderer, evaluateStyle, fill, getAnchorName, getAnchorNameExpression, getBookmarkLevel, getBookmarkLevelExpression, getChartAxisLocation, getChartType, getCustomizerClass, getDataset, getDefaultLineColor, getEvaluationGroup, getEvaluationTime, getHyperlinkAnchor, getHyperlinkAnchorExpression, getHyperlinkPage, getHyperlinkPageExpression, getHyperlinkParameters, getHyperlinkProvider, getHyperlinkReference, getHyperlinkReferenceExpression, getHyperlinkTarget, getHyperlinkTooltip, getHyperlinkTooltipExpression, getHyperlinkType, getHyperlinkWhenExpression, getJRTemplateImage, getLineBox, getLinkTarget, getLinkType, getLocale, getMode, getOwnLegendBackgroundColor, getOwnLegendColor, getOwnSubtitleColor, getOwnTitleColor, getPlot, getRenderable, getStyleResolver, getTimeZone, prepare, resolveElement, rewind, setBand, setDataset, setLegendBackgroundColor, setLegendColor, setLegendPosition, setRenderType, setShowLegend, setSubtitleColor, setTheme, setTitleColor, setTitlePosition, visit
-
Methods inherited from class net.sf.jasperreports.engine.fill.JRFillElement
addDependantElement, addDynamicProperty, clone, clone, clone, collectDelayedEvaluations, collectDelayedEvaluations, collectDelayedEvaluations, collectStyleDelayedEvaluations, collectStyleProviderDelayedEvaluations, delayedEvaluate, delayedEvaluationUpdatesTemplate, evaluateExpression, evaluatePrintWhenExpression, evaluateProperties, getBand, getBookmarkLevel, getCollapsedHeightAbove, getCollapsedHeightBelow, getConditionalStylesContainer, getDefaultStyleProvider, getDependantElements, getDynamicProperties, getElementGroup, getElementOrigin, getElementTemplate, getEvaluatedProperties, getField, getFiller, getForecolor, getGroupElements, getHeight, getInitStyle, getKey, getOwnBackcolor, getOwnForecolor, getOwnMode, getParent, getParentProperties, getPositionType, getPrepareHeight, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertiesMap, getPropertyExpressions, getRelativeY, getStretchHeight, getStretchType, getStyle, getStyleExpression, getStyleNameReference, getTemplate, getUUID, getVariable, getWidth, getX, getY, hasDynamicProperties, hasDynamicProperty, hasProperties, initDelayedEvaluationPrint, initDelayedEvaluations, initStyleProviders, isAlreadyPrinted, isAutoEvaluateNow, isDelayedStyleEvaluation, isEvaluateAuto, isEvaluateNow, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isPrintWhenExpressionNull, isPrintWhenTrue, isRemoveLineWhenBlank, isReprinted, isToPrint, isValueRepeating, moveDependantElements, performDelayedEvaluation, registerTemplate, reset, resolveElement, setAlreadyPrinted, setBackcolor, setCollapsedHeightAbove, setCollapsedHeightBelow, setConditionalStylesContainer, setCurrentEvaluation, setExpressionEvaluator, setForecolor, setHeight, setMode, setOriginProvider, setPositionType, setPrepareHeight, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setPrintWhenExpressionNull, setPrintWhenTrue, setRelativeY, setRemoveLineWhenBlank, setReprinted, setShrinkable, setStretchHeight, setStretchType, setStyle, setStyleNameReference, setToPrint, setValueRepeating, setWidth, setX, setY, stretchElement, stretchElementToContainer, stretchElementToElementGroup, stretchElementToHeight, toPopulateTemplateStyle, transferProperties, transferProperties
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.charts.JRChart
getChartsStyleResolver
-
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
-
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement
getForecolor, getHeight, getKey, getOwnBackcolor, getOwnForecolor, getOwnMode, getWidth, setBackcolor, setForecolor, setMode
-
Methods 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, setX
-
Methods inherited from interface net.sf.jasperreports.engine.JRIdentifiable
getUUID
-
Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder
getParentProperties, getPropertiesMap, hasProperties
-
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleName, getStyleNameReference
-
-
-
-
Field Detail
-
parentChart
protected JRChart parentChart
-
-
Constructor Detail
-
JRFillChartForAxis
protected JRFillChartForAxis(JRFillChart fillChart, ChartsFillObjectFactory factory, JRChart parentChart)
-
-
Method Detail
-
getBackcolor
public Color getBackcolor()
- Specified by:
getBackcolor
in interfaceJRCommonElement
- Overrides:
getBackcolor
in classJRFillElement
-
getShowLegend
public Boolean getShowLegend()
- Specified by:
getShowLegend
in interfaceJRChart
- Overrides:
getShowLegend
in classJRFillChart
-
getRenderType
public String getRenderType()
- Specified by:
getRenderType
in interfaceJRChart
- Overrides:
getRenderType
in classJRFillChart
-
getTheme
public String getTheme()
- Specified by:
getTheme
in interfaceJRChart
- Overrides:
getTheme
in classJRFillChart
-
getTitleFont
public JRFont getTitleFont()
- Specified by:
getTitleFont
in interfaceJRChart
- Overrides:
getTitleFont
in classJRFillChart
-
getTitlePosition
public EdgeEnum getTitlePosition()
Description copied from interface:JRChart
Gets the title position relative to the chart.- Specified by:
getTitlePosition
in interfaceJRChart
- Overrides:
getTitlePosition
in classJRFillChart
-
getTitleColor
public Color getTitleColor()
- Specified by:
getTitleColor
in interfaceJRChart
- Overrides:
getTitleColor
in classJRFillChart
-
getSubtitleFont
public JRFont getSubtitleFont()
- Specified by:
getSubtitleFont
in interfaceJRChart
- Overrides:
getSubtitleFont
in classJRFillChart
-
getSubtitleColor
public Color getSubtitleColor()
- Specified by:
getSubtitleColor
in interfaceJRChart
- Overrides:
getSubtitleColor
in classJRFillChart
-
getLegendColor
public Color getLegendColor()
Description copied from class:JRFillChart
Returns the inherited color to use for text in the legend.- Specified by:
getLegendColor
in interfaceJRChart
- Overrides:
getLegendColor
in classJRFillChart
- Returns:
- the color to use for text in the legend
-
getLegendBackgroundColor
public Color getLegendBackgroundColor()
Description copied from class:JRFillChart
Returns the color to use as the background of the legend.- Specified by:
getLegendBackgroundColor
in interfaceJRChart
- Overrides:
getLegendBackgroundColor
in classJRFillChart
- Returns:
- the color to use as the background of the legend
-
getLegendFont
public JRFont getLegendFont()
Description copied from class:JRFillChart
Returns the font to use in the legend.- Specified by:
getLegendFont
in interfaceJRChart
- Overrides:
getLegendFont
in classJRFillChart
- Returns:
- the font to use in the legend
-
getLegendPosition
public EdgeEnum getLegendPosition()
- Specified by:
getLegendPosition
in interfaceJRChart
- Overrides:
getLegendPosition
in classJRFillChart
-
getTitleExpression
public JRExpression getTitleExpression()
Description copied from interface:JRChart
Gets the expression whose evaluation will form the title.- Specified by:
getTitleExpression
in interfaceJRChart
- Overrides:
getTitleExpression
in classJRFillChart
-
getSubtitleExpression
public JRExpression getSubtitleExpression()
Description copied from interface:JRChart
Gets the expression whose evaluation will form the subtitle.- Specified by:
getSubtitleExpression
in interfaceJRChart
- Overrides:
getSubtitleExpression
in classJRFillChart
-
-