net.sf.jasperreports.engine.base
Class JRBaseChartPlot.JRBaseSeriesColor
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseChartPlot.JRBaseSeriesColor
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, JRChartPlot.JRSeriesColor, JRCloneable
- Enclosing class:
- JRBaseChartPlot
public static class JRBaseChartPlot.JRBaseSeriesColor
- extends java.lang.Object
- implements JRChartPlot.JRSeriesColor, java.io.Serializable, java.lang.Comparable
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
clone()
|
int |
compareTo(java.lang.Object obj)
|
java.awt.Color |
getColor()
Returns the color to use for this series. |
int |
getSeriesOrder()
Returns the series number (0 based) that this color applies to. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
seriesOrder
protected int seriesOrder
color
protected java.awt.Color color
JRBaseChartPlot.JRBaseSeriesColor
public JRBaseChartPlot.JRBaseSeriesColor(int seriesOrder,
java.awt.Color color)
getSeriesOrder
public int getSeriesOrder()
- Returns the series number (0 based) that this color applies to.
- Specified by:
getSeriesOrder
in interface JRChartPlot.JRSeriesColor
getColor
public java.awt.Color getColor()
- Returns the color to use for this series.
- Specified by:
getColor
in interface JRChartPlot.JRSeriesColor
compareTo
public int compareTo(java.lang.Object obj)
- Specified by:
compareTo
in interface java.lang.Comparable
clone
public java.lang.Object clone()
- Specified by:
clone
in interface JRCloneable
- Overrides:
clone
in class java.lang.Object
© 2001-2009 Jaspersoft Corporation www.jaspersoft.com