Package net.sf.jasperreports.charts.base
Class JRBaseBar3DPlot
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRBaseChartPlot
-
- net.sf.jasperreports.charts.base.JRBaseBar3DPlot
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,JRBar3DPlot
,JRCategoryAxisFormat
,JRCategoryPlot
,JRValueAxisFormat
,JRChangeEventsSupport
,JRChartPlot
,JRCloneable
- Direct Known Subclasses:
JRDesignBar3DPlot
public class JRBaseBar3DPlot extends JRBaseChartPlot implements JRBar3DPlot
- Author:
- Flavius Sana (flavius_sana@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sf.jasperreports.engine.base.JRBaseChartPlot
JRBaseChartPlot.JRBaseSeriesColor
-
Nested classes/interfaces inherited from interface net.sf.jasperreports.engine.JRChartPlot
JRChartPlot.JRSeriesColor
-
-
Field Summary
-
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseChartPlot
backcolor, backgroundAlphaFloat, chart, foregroundAlphaFloat, labelRotationDouble, orientationValue, PROPERTY_BACKCOLOR, PROPERTY_BACKGROUND_ALPHA, PROPERTY_FOREGROUND_ALPHA, PROPERTY_LABEL_ROTATION, PROPERTY_ORIENTATION, PROPERTY_SERIES_COLORS, seriesColors
-
Fields inherited from interface net.sf.jasperreports.charts.JRCategoryAxisFormat
PROPERTY_CATEGORY_AXIS_TICK_LABEL_ROTATION
-
-
Constructor Summary
Constructors Modifier Constructor Description JRBaseBar3DPlot(JRBar3DPlot barPlot, JRBaseObjectFactory factory)
JRBaseBar3DPlot(JRChartPlot plot, JRChart chart)
protected
JRBaseBar3DPlot(JRChartPlot plot, JRChart chart, ChartCopyObjectFactory copyObjectFactory)
-
Method Summary
-
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseChartPlot
addSeriesColor, clearSeriesColors, clone, getBackcolor, getBackgroundAlphaFloat, getChart, getEventSupport, getForegroundAlphaFloat, getLabelRotationDouble, getOrientationValue, getOwnBackcolor, getSeriesColors, getStyleResolver, setBackcolor, setBackgroundAlpha, 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.engine.JRChartPlot
addSeriesColor, clearSeriesColors, getBackcolor, getBackgroundAlphaFloat, getChart, getForegroundAlphaFloat, getLabelRotationDouble, getOrientationValue, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColors
-
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
-
-
-
-
Field Detail
-
PROPERTY_SHOW_LABELS
public static final java.lang.String PROPERTY_SHOW_LABELS
- See Also:
- Constant Field Values
-
PROPERTY_X_OFFSET
public static final java.lang.String PROPERTY_X_OFFSET
- See Also:
- Constant Field Values
-
PROPERTY_Y_OFFSET
public static final java.lang.String PROPERTY_Y_OFFSET
- See Also:
- Constant Field Values
-
categoryAxisLabelExpression
protected JRExpression categoryAxisLabelExpression
-
categoryAxisLabelFont
protected JRFont categoryAxisLabelFont
-
categoryAxisLabelColor
protected java.awt.Color categoryAxisLabelColor
-
categoryAxisTickLabelFont
protected JRFont categoryAxisTickLabelFont
-
categoryAxisTickLabelColor
protected java.awt.Color categoryAxisTickLabelColor
-
categoryAxisTickLabelMask
protected java.lang.String categoryAxisTickLabelMask
-
categoryAxisVerticalTickLabels
protected java.lang.Boolean categoryAxisVerticalTickLabels
-
categoryAxisLineColor
protected java.awt.Color categoryAxisLineColor
-
valueAxisLabelExpression
protected JRExpression valueAxisLabelExpression
-
rangeAxisMinValueExpression
protected JRExpression rangeAxisMinValueExpression
-
rangeAxisMaxValueExpression
protected JRExpression rangeAxisMaxValueExpression
-
domainAxisMinValueExpression
protected JRExpression domainAxisMinValueExpression
-
domainAxisMaxValueExpression
protected JRExpression domainAxisMaxValueExpression
-
valueAxisLabelFont
protected JRFont valueAxisLabelFont
-
valueAxisLabelColor
protected java.awt.Color valueAxisLabelColor
-
valueAxisTickLabelFont
protected JRFont valueAxisTickLabelFont
-
valueAxisTickLabelColor
protected java.awt.Color valueAxisTickLabelColor
-
valueAxisTickLabelMask
protected java.lang.String valueAxisTickLabelMask
-
valueAxisVerticalTickLabels
protected java.lang.Boolean valueAxisVerticalTickLabels
-
valueAxisLineColor
protected java.awt.Color valueAxisLineColor
-
itemLabel
protected JRItemLabel itemLabel
-
-
Constructor Detail
-
JRBaseBar3DPlot
public JRBaseBar3DPlot(JRChartPlot plot, JRChart chart)
-
JRBaseBar3DPlot
protected JRBaseBar3DPlot(JRChartPlot plot, JRChart chart, ChartCopyObjectFactory copyObjectFactory)
-
JRBaseBar3DPlot
public JRBaseBar3DPlot(JRBar3DPlot barPlot, JRBaseObjectFactory 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 java.awt.Color getCategoryAxisLabelColor()
- Specified by:
getCategoryAxisLabelColor
in interfaceJRCategoryAxisFormat
-
getOwnCategoryAxisLabelColor
public java.awt.Color getOwnCategoryAxisLabelColor()
- Specified by:
getOwnCategoryAxisLabelColor
in interfaceJRCategoryAxisFormat
-
getCategoryAxisTickLabelFont
public JRFont getCategoryAxisTickLabelFont()
- Specified by:
getCategoryAxisTickLabelFont
in interfaceJRCategoryAxisFormat
-
getCategoryAxisTickLabelColor
public java.awt.Color getCategoryAxisTickLabelColor()
- Specified by:
getCategoryAxisTickLabelColor
in interfaceJRCategoryAxisFormat
-
getOwnCategoryAxisTickLabelColor
public java.awt.Color getOwnCategoryAxisTickLabelColor()
- Specified by:
getOwnCategoryAxisTickLabelColor
in interfaceJRCategoryAxisFormat
-
getCategoryAxisTickLabelMask
public java.lang.String getCategoryAxisTickLabelMask()
- Specified by:
getCategoryAxisTickLabelMask
in interfaceJRCategoryAxisFormat
-
getCategoryAxisVerticalTickLabels
public java.lang.Boolean getCategoryAxisVerticalTickLabels()
- Specified by:
getCategoryAxisVerticalTickLabels
in interfaceJRCategoryAxisFormat
-
getCategoryAxisTickLabelRotation
public java.lang.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(java.lang.Double labelRotationDouble)
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 java.awt.Color getCategoryAxisLineColor()
- Specified by:
getCategoryAxisLineColor
in interfaceJRCategoryAxisFormat
-
getOwnCategoryAxisLineColor
public java.awt.Color getOwnCategoryAxisLineColor()
- Specified by:
getOwnCategoryAxisLineColor
in interfaceJRCategoryAxisFormat
-
getValueAxisLabelExpression
public JRExpression getValueAxisLabelExpression()
- Specified by:
getValueAxisLabelExpression
in interfaceJRCategoryPlot
- Returns:
- the value axis label expression
-
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
-
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
-
getValueAxisLabelFont
public JRFont getValueAxisLabelFont()
- Specified by:
getValueAxisLabelFont
in interfaceJRValueAxisFormat
-
getValueAxisLabelColor
public java.awt.Color getValueAxisLabelColor()
- Specified by:
getValueAxisLabelColor
in interfaceJRValueAxisFormat
-
getOwnValueAxisLabelColor
public java.awt.Color getOwnValueAxisLabelColor()
- Specified by:
getOwnValueAxisLabelColor
in interfaceJRValueAxisFormat
-
getValueAxisTickLabelFont
public JRFont getValueAxisTickLabelFont()
- Specified by:
getValueAxisTickLabelFont
in interfaceJRValueAxisFormat
-
getValueAxisTickLabelColor
public java.awt.Color getValueAxisTickLabelColor()
- Specified by:
getValueAxisTickLabelColor
in interfaceJRValueAxisFormat
-
getOwnValueAxisTickLabelColor
public java.awt.Color getOwnValueAxisTickLabelColor()
- Specified by:
getOwnValueAxisTickLabelColor
in interfaceJRValueAxisFormat
-
getValueAxisTickLabelMask
public java.lang.String getValueAxisTickLabelMask()
- Specified by:
getValueAxisTickLabelMask
in interfaceJRValueAxisFormat
-
getValueAxisVerticalTickLabels
public java.lang.Boolean getValueAxisVerticalTickLabels()
- Specified by:
getValueAxisVerticalTickLabels
in interfaceJRValueAxisFormat
-
getValueAxisLineColor
public java.awt.Color getValueAxisLineColor()
- Specified by:
getValueAxisLineColor
in interfaceJRValueAxisFormat
-
getOwnValueAxisLineColor
public java.awt.Color getOwnValueAxisLineColor()
- Specified by:
getOwnValueAxisLineColor
in interfaceJRValueAxisFormat
-
getXOffsetDouble
public java.lang.Double getXOffsetDouble()
- Specified by:
getXOffsetDouble
in interfaceJRBar3DPlot
- Returns:
- the x offset
-
getItemLabel
public JRItemLabel getItemLabel()
- Specified by:
getItemLabel
in interfaceJRBar3DPlot
- Returns:
- a
JRItemLabel
object representing the item label
-
setXOffset
public void setXOffset(java.lang.Double xOffset)
Description copied from interface:JRBar3DPlot
Sets the x offset- Specified by:
setXOffset
in interfaceJRBar3DPlot
- Parameters:
xOffset
- the x offset
-
getYOffsetDouble
public java.lang.Double getYOffsetDouble()
- Specified by:
getYOffsetDouble
in interfaceJRBar3DPlot
- Returns:
- the y offset
-
setYOffset
public void setYOffset(java.lang.Double yOffset)
Description copied from interface:JRBar3DPlot
Sets the y offset- Specified by:
setYOffset
in interfaceJRBar3DPlot
- Parameters:
yOffset
- the y offset
-
getShowLabels
public java.lang.Boolean getShowLabels()
- Specified by:
getShowLabels
in interfaceJRBar3DPlot
- Returns:
- a flag that specifies whether the labels are to be shown or not
-
setShowLabels
public void setShowLabels(java.lang.Boolean showLabels)
Description copied from interface:JRBar3DPlot
Sets a flag that specifies whether the labels are to be shown or not- Specified by:
setShowLabels
in interfaceJRBar3DPlot
- Parameters:
showLabels
- the show labels flag
-
collectExpressions
public void collectExpressions(JRExpressionCollector collector)
- Specified by:
collectExpressions
in interfaceJRChartPlot
-
clone
public java.lang.Object clone(JRChart parentChart)
- Specified by:
clone
in interfaceJRChartPlot
- Overrides:
clone
in classJRBaseChartPlot
-
-