Package net.sf.jasperreports.charts.fill
Class JRFillBarPlot
- java.lang.Object
-
- net.sf.jasperreports.charts.fill.JRFillChartPlot
-
- net.sf.jasperreports.charts.fill.JRFillBarPlot
-
- All Implemented Interfaces:
Cloneable
,JRBarPlot
,JRCategoryAxisFormat
,JRCategoryPlot
,JRChartPlot
,JRValueAxisFormat
,JRCloneable
- Direct Known Subclasses:
JRFillBar3DPlot
public class JRFillBarPlot extends JRFillChartPlot implements JRBarPlot
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.sf.jasperreports.charts.JRChartPlot
JRChartPlot.JRSeriesColor
-
-
Field Summary
Fields Modifier and Type Field Description protected Color
categoryAxisLabelColor
protected JRFont
categoryAxisLabelFont
protected Color
categoryAxisLineColor
protected Color
categoryAxisTickLabelColor
protected JRFont
categoryAxisTickLabelFont
protected Color
valueAxisLabelColor
protected JRFont
valueAxisLabelFont
protected Color
valueAxisLineColor
protected Color
valueAxisTickLabelColor
protected JRFont
valueAxisTickLabelFont
-
Fields inherited from class net.sf.jasperreports.charts.fill.JRFillChartPlot
chart, parent
-
Fields inherited from interface net.sf.jasperreports.charts.JRCategoryAxisFormat
PROPERTY_CATEGORY_AXIS_TICK_LABEL_ROTATION
-
-
Constructor Summary
Constructors Constructor Description JRFillBarPlot(JRBarPlot barPlot, ChartsFillObjectFactory factory)
-
Method Summary
-
Methods inherited from class net.sf.jasperreports.charts.fill.JRFillChartPlot
addSeriesColor, clearSeriesColors, clone, clone, collectExpressions, getBackcolor, getBackgroundAlpha, getChart, getForegroundAlpha, getLabelRotation, getOrientation, getOwnBackcolor, getSeriesColors, getStyleResolver, setBackcolor, setBackgroundAlpha, setBand, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColors
-
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.JRChartPlot
addSeriesColor, clearSeriesColors, clone, collectExpressions, getBackcolor, getBackgroundAlpha, getChart, getForegroundAlpha, getLabelRotation, getOrientation, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColors
-
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
-
-
-
-
Field Detail
-
categoryAxisLabelFont
protected JRFont categoryAxisLabelFont
-
categoryAxisLabelColor
protected Color categoryAxisLabelColor
-
categoryAxisTickLabelFont
protected JRFont categoryAxisTickLabelFont
-
categoryAxisTickLabelColor
protected Color categoryAxisTickLabelColor
-
categoryAxisLineColor
protected Color categoryAxisLineColor
-
valueAxisLabelFont
protected JRFont valueAxisLabelFont
-
valueAxisLabelColor
protected Color valueAxisLabelColor
-
valueAxisTickLabelFont
protected JRFont valueAxisTickLabelFont
-
valueAxisTickLabelColor
protected Color valueAxisTickLabelColor
-
valueAxisLineColor
protected Color valueAxisLineColor
-
-
Constructor Detail
-
JRFillBarPlot
public JRFillBarPlot(JRBarPlot barPlot, ChartsFillObjectFactory factory)
-
-
Method Detail
-
getCategoryAxisLabelExpression
public JRExpression getCategoryAxisLabelExpression()
- Specified by:
getCategoryAxisLabelExpression
in interfaceJRCategoryPlot
- Returns:
- the category axis label expression
-
getCategoryAxisLabelFont
public JRFont getCategoryAxisLabelFont()
- Specified by:
getCategoryAxisLabelFont
in interfaceJRCategoryAxisFormat
-
getCategoryAxisLabelColor
public Color getCategoryAxisLabelColor()
- Specified by:
getCategoryAxisLabelColor
in interfaceJRCategoryAxisFormat
-
getOwnCategoryAxisLabelColor
public Color getOwnCategoryAxisLabelColor()
- Specified by:
getOwnCategoryAxisLabelColor
in interfaceJRCategoryAxisFormat
-
setCategoryAxisLabelColor
public void setCategoryAxisLabelColor(Color color)
-
getCategoryAxisTickLabelFont
public JRFont getCategoryAxisTickLabelFont()
- Specified by:
getCategoryAxisTickLabelFont
in interfaceJRCategoryAxisFormat
-
getCategoryAxisTickLabelColor
public Color getCategoryAxisTickLabelColor()
- Specified by:
getCategoryAxisTickLabelColor
in interfaceJRCategoryAxisFormat
-
getOwnCategoryAxisTickLabelColor
public Color getOwnCategoryAxisTickLabelColor()
- Specified by:
getOwnCategoryAxisTickLabelColor
in interfaceJRCategoryAxisFormat
-
getItemLabel
public JRItemLabel getItemLabel()
- Specified by:
getItemLabel
in interfaceJRBarPlot
- Returns:
- a
JRItemLabel
object representing the item label
-
setItemLabel
public void setItemLabel(JRItemLabel itemLabel)
-
setCategoryAxisTickLabelColor
public void setCategoryAxisTickLabelColor(Color color)
-
getCategoryAxisTickLabelMask
public String getCategoryAxisTickLabelMask()
- Specified by:
getCategoryAxisTickLabelMask
in interfaceJRCategoryAxisFormat
-
getCategoryAxisVerticalTickLabels
public Boolean getCategoryAxisVerticalTickLabels()
- Specified by:
getCategoryAxisVerticalTickLabels
in interfaceJRCategoryAxisFormat
-
getCategoryAxisTickLabelRotation
public Double getCategoryAxisTickLabelRotation()
Description copied from interface:JRCategoryAxisFormat
Gets the angle in degrees to rotate the data axis labels. The range is -360 to 360. A positive value angles the label so it reads downwards wile a negative value angles the label so it reads upwards. Only charts that use a category based axis (such as line or bar charts) support label rotation.- Specified by:
getCategoryAxisTickLabelRotation
in interfaceJRCategoryAxisFormat
-
setCategoryAxisTickLabelRotation
public void setCategoryAxisTickLabelRotation(Double labelRotation)
Description copied from interface:JRCategoryAxisFormat
Sets the angle in degrees to rotate the data axis labels. The range is -360 to 360. A positive value angles the label so it reads downwards wile a negative value angles the label so it reads upwards. Only charts that use a category based axis (such as line or bar charts) support label rotation.- Specified by:
setCategoryAxisTickLabelRotation
in interfaceJRCategoryAxisFormat
-
getCategoryAxisLineColor
public Color getCategoryAxisLineColor()
- Specified by:
getCategoryAxisLineColor
in interfaceJRCategoryAxisFormat
-
getOwnCategoryAxisLineColor
public Color getOwnCategoryAxisLineColor()
- Specified by:
getOwnCategoryAxisLineColor
in interfaceJRCategoryAxisFormat
-
setCategoryAxisLineColor
public void setCategoryAxisLineColor(Color color)
-
getValueAxisLabelExpression
public JRExpression getValueAxisLabelExpression()
- Specified by:
getValueAxisLabelExpression
in interfaceJRCategoryPlot
- Returns:
- the value axis label expression
-
getDomainAxisMinValueExpression
public JRExpression getDomainAxisMinValueExpression()
- Specified by:
getDomainAxisMinValueExpression
in interfaceJRCategoryPlot
- Returns:
- the minimum value expression for the domain axis
-
getDomainAxisMaxValueExpression
public JRExpression getDomainAxisMaxValueExpression()
- Specified by:
getDomainAxisMaxValueExpression
in interfaceJRCategoryPlot
- Returns:
- the maximum value expression for the domain axis
-
getRangeAxisMinValueExpression
public JRExpression getRangeAxisMinValueExpression()
- Specified by:
getRangeAxisMinValueExpression
in interfaceJRCategoryPlot
- Returns:
- the minimum value expression for the range axis
-
getRangeAxisMaxValueExpression
public JRExpression getRangeAxisMaxValueExpression()
- Specified by:
getRangeAxisMaxValueExpression
in interfaceJRCategoryPlot
- Returns:
- the maximum value expression for the range axis
-
getValueAxisLabelFont
public JRFont getValueAxisLabelFont()
- Specified by:
getValueAxisLabelFont
in interfaceJRValueAxisFormat
-
getValueAxisLabelColor
public Color getValueAxisLabelColor()
- Specified by:
getValueAxisLabelColor
in interfaceJRValueAxisFormat
-
getOwnValueAxisLabelColor
public Color getOwnValueAxisLabelColor()
- Specified by:
getOwnValueAxisLabelColor
in interfaceJRValueAxisFormat
-
setValueAxisLabelColor
public void setValueAxisLabelColor(Color color)
-
getValueAxisTickLabelFont
public JRFont getValueAxisTickLabelFont()
- Specified by:
getValueAxisTickLabelFont
in interfaceJRValueAxisFormat
-
getValueAxisTickLabelColor
public Color getValueAxisTickLabelColor()
- Specified by:
getValueAxisTickLabelColor
in interfaceJRValueAxisFormat
-
getOwnValueAxisTickLabelColor
public Color getOwnValueAxisTickLabelColor()
- Specified by:
getOwnValueAxisTickLabelColor
in interfaceJRValueAxisFormat
-
setValueAxisTickLabelColor
public void setValueAxisTickLabelColor(Color color)
-
getValueAxisTickLabelMask
public String getValueAxisTickLabelMask()
- Specified by:
getValueAxisTickLabelMask
in interfaceJRValueAxisFormat
-
getValueAxisVerticalTickLabels
public Boolean getValueAxisVerticalTickLabels()
- Specified by:
getValueAxisVerticalTickLabels
in interfaceJRValueAxisFormat
-
getValueAxisLineColor
public Color getValueAxisLineColor()
- Specified by:
getValueAxisLineColor
in interfaceJRValueAxisFormat
-
getOwnValueAxisLineColor
public Color getOwnValueAxisLineColor()
- Specified by:
getOwnValueAxisLineColor
in interfaceJRValueAxisFormat
-
setValueAxisLineColor
public void setValueAxisLineColor(Color color)
-
getShowTickMarks
public Boolean getShowTickMarks()
- Specified by:
getShowTickMarks
in interfaceJRBarPlot
- Returns:
- a flag that specifies whether the tick marks are to be shown or not
-
setShowTickMarks
public void setShowTickMarks(Boolean isShowTickMarks)
Description copied from interface:JRBarPlot
Sets a flag that specifies whether the tick marks are to be shown or not- Specified by:
setShowTickMarks
in interfaceJRBarPlot
- Parameters:
isShowTickMarks
- the show tick marks flag
-
getShowTickLabels
public Boolean getShowTickLabels()
- Specified by:
getShowTickLabels
in interfaceJRBarPlot
- Returns:
- a flag that specifies whether the tick labels are to be shown or not
-
setShowTickLabels
public void setShowTickLabels(Boolean isShowTickLabels)
Description copied from interface:JRBarPlot
Sets a flag that specifies whether the tick labels are to be shown or not- Specified by:
setShowTickLabels
in interfaceJRBarPlot
- Parameters:
isShowTickLabels
- the show tick labels flag
-
getShowLabels
public Boolean getShowLabels()
- Specified by:
getShowLabels
in interfaceJRBarPlot
- Returns:
- a flag that specifies whether the labels are to be shown or not
-
setShowLabels
public void setShowLabels(Boolean isShowLabels)
Description copied from interface:JRBarPlot
Sets a flag that specifies whether the labels are to be shown or not- Specified by:
setShowLabels
in interfaceJRBarPlot
- Parameters:
isShowLabels
- the show labels flag
-
-