Package net.sf.jasperreports.charts.base
Class JRBaseChartPlot.JRBaseSeriesColor
- java.lang.Object
-
- net.sf.jasperreports.charts.base.JRBaseChartPlot.JRBaseSeriesColor
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<JRBaseChartPlot.JRBaseSeriesColor>
,JRChartPlot.JRSeriesColor
,JRCloneable
- Enclosing class:
- JRBaseChartPlot
public static class JRBaseChartPlot.JRBaseSeriesColor extends Object implements JRChartPlot.JRSeriesColor, Serializable, Comparable<JRBaseChartPlot.JRBaseSeriesColor>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Color
color
protected int
seriesOrder
-
Constructor Summary
Constructors Constructor Description JRBaseSeriesColor(int seriesOrder, Color color)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
int
compareTo(JRBaseChartPlot.JRBaseSeriesColor obj)
Color
getColor()
Returns the color to use for this series.int
getSeriesOrder()
Returns the series number (0 based) that this color applies to.
-
-
-
Field Detail
-
seriesOrder
protected int seriesOrder
-
color
protected Color color
-
-
Constructor Detail
-
JRBaseSeriesColor
public JRBaseSeriesColor(int seriesOrder, Color color)
-
-
Method Detail
-
getSeriesOrder
public int getSeriesOrder()
Returns the series number (0 based) that this color applies to.- Specified by:
getSeriesOrder
in interfaceJRChartPlot.JRSeriesColor
-
getColor
public Color getColor()
Returns the color to use for this series.- Specified by:
getColor
in interfaceJRChartPlot.JRSeriesColor
-
compareTo
public int compareTo(JRBaseChartPlot.JRBaseSeriesColor obj)
- Specified by:
compareTo
in interfaceComparable<JRBaseChartPlot.JRBaseSeriesColor>
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
-