public abstract class JRBaseChartPlot extends java.lang.Object implements JRChartPlot, java.io.Serializable, JRChangeEventsSupport
| Modifier and Type | Class and Description |
|---|---|
static class |
JRBaseChartPlot.JRBaseSeriesColor |
JRChartPlot.JRSeriesColor| Modifier and Type | Field and Description |
|---|---|
protected java.awt.Color |
backcolor |
protected java.lang.Float |
backgroundAlphaFloat |
protected JRChart |
chart |
protected java.lang.Float |
foregroundAlphaFloat |
protected java.lang.Double |
labelRotationDouble |
protected org.jfree.chart.plot.PlotOrientation |
orientation |
static java.lang.String |
PROPERTY_BACKCOLOR |
static java.lang.String |
PROPERTY_BACKGROUND_ALPHA |
static java.lang.String |
PROPERTY_FOREGROUND_ALPHA |
static java.lang.String |
PROPERTY_LABEL_ROTATION |
static java.lang.String |
PROPERTY_ORIENTATION |
static java.lang.String |
PROPERTY_SERIES_COLORS |
protected java.util.SortedSet |
seriesColors |
| Modifier | Constructor and Description |
|---|---|
protected |
JRBaseChartPlot(JRChartPlot plot,
JRBaseObjectFactory factory) |
protected |
JRBaseChartPlot(JRChartPlot plot,
JRChart chart) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSeriesColor(JRChartPlot.JRSeriesColor seriesColor)
Adds the specified series color to the plot.
|
void |
clearSeriesColors()
Removes all defined series colors.
|
java.lang.Object |
clone() |
java.lang.Object |
clone(JRChart parentChart) |
java.awt.Color |
getBackcolor()
Gets the chart background color.
|
float |
getBackgroundAlpha()
Deprecated.
Replaced by
getBackgroundAlphaFloat() |
java.lang.Float |
getBackgroundAlphaFloat()
Gets the transparency factor for this plot background.
|
JRChart |
getChart()
Gets the chart associated with this chart plot, if available.
|
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
float |
getForegroundAlpha()
Deprecated.
Replaced by
getForegroundAlphaFloat() |
java.lang.Float |
getForegroundAlphaFloat()
Gets the transparency factor for this plot foreground.
|
double |
getLabelRotation()
Deprecated.
Replaced by
getLabelRotationDouble() |
java.lang.Double |
getLabelRotationDouble()
Deprecated.
|
org.jfree.chart.plot.PlotOrientation |
getOrientation()
Gets the plot orientation (horizontal or vertical).
|
java.awt.Color |
getOwnBackcolor() |
java.util.SortedSet |
getSeriesColors()
Returns a list of all the defined series colors.
|
void |
setBackcolor(java.awt.Color backcolor)
Sets the chart background color.
|
void |
setBackgroundAlpha(float backgroundAlpha)
Deprecated.
Replaced by
setBackgroundAlpha(Float) |
void |
setBackgroundAlpha(java.lang.Float backgroundAlpha)
Sets the transparency factor for this plot background.
|
void |
setForegroundAlpha(float foregroundAlpha)
Deprecated.
Replaced by
setForegroundAlpha(Float) |
void |
setForegroundAlpha(java.lang.Float foregroundAlpha)
Sets the transparency factor for this plot foreground.
|
void |
setLabelRotation(double labelRotation)
Deprecated.
Replaced by
setLabelRotation(Double) |
void |
setLabelRotation(java.lang.Double labelRotation)
Deprecated.
|
void |
setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
Sets the plot orientation (horizontal or vertical).
|
void |
setSeriesColors(java.util.Collection colors)
Set the list of series colors.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcollectExpressionspublic static final java.lang.String PROPERTY_BACKCOLOR
public static final java.lang.String PROPERTY_BACKGROUND_ALPHA
public static final java.lang.String PROPERTY_FOREGROUND_ALPHA
public static final java.lang.String PROPERTY_LABEL_ROTATION
public static final java.lang.String PROPERTY_ORIENTATION
public static final java.lang.String PROPERTY_SERIES_COLORS
protected JRChart chart
protected java.awt.Color backcolor
protected org.jfree.chart.plot.PlotOrientation orientation
protected java.lang.Float backgroundAlphaFloat
protected java.lang.Float foregroundAlphaFloat
protected java.lang.Double labelRotationDouble
protected java.util.SortedSet seriesColors
protected JRBaseChartPlot(JRChartPlot plot, JRChart chart)
protected JRBaseChartPlot(JRChartPlot plot, JRBaseObjectFactory factory)
public JRChart getChart()
JRChartPlotgetChart in interface JRChartPlotpublic java.awt.Color getBackcolor()
JRChartPlotgetBackcolor in interface JRChartPlotpublic java.awt.Color getOwnBackcolor()
getOwnBackcolor in interface JRChartPlotpublic void setBackcolor(java.awt.Color backcolor)
JRChartPlotsetBackcolor in interface JRChartPlotpublic org.jfree.chart.plot.PlotOrientation getOrientation()
JRChartPlotgetOrientation in interface JRChartPlotpublic void setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
JRChartPlotsetOrientation in interface JRChartPlotpublic float getBackgroundAlpha()
getBackgroundAlphaFloat()getBackgroundAlpha in interface JRChartPlotpublic void setBackgroundAlpha(float backgroundAlpha)
setBackgroundAlpha(Float)setBackgroundAlpha in interface JRChartPlotpublic float getForegroundAlpha()
getForegroundAlphaFloat()getForegroundAlpha in interface JRChartPlotpublic void setForegroundAlpha(float foregroundAlpha)
setForegroundAlpha(Float)setForegroundAlpha in interface JRChartPlotpublic double getLabelRotation()
getLabelRotationDouble()getLabelRotation in interface JRChartPlotpublic void setLabelRotation(double labelRotation)
setLabelRotation(Double)setLabelRotation in interface JRChartPlotpublic java.lang.Float getBackgroundAlphaFloat()
JRChartPlotgetBackgroundAlphaFloat in interface JRChartPlotpublic void setBackgroundAlpha(java.lang.Float backgroundAlpha)
JRChartPlotsetBackgroundAlpha in interface JRChartPlotpublic java.lang.Float getForegroundAlphaFloat()
JRChartPlotgetForegroundAlphaFloat in interface JRChartPlotpublic void setForegroundAlpha(java.lang.Float foregroundAlpha)
JRChartPlotsetForegroundAlpha in interface JRChartPlotpublic java.lang.Double getLabelRotationDouble()
JRCategoryAxisFormat.getCategoryAxisTickLabelRotation().getLabelRotationDouble in interface JRChartPlotpublic void setLabelRotation(java.lang.Double labelRotation)
JRCategoryAxisFormat.setCategoryAxisTickLabelRotation(Double).setLabelRotation in interface JRChartPlotpublic java.util.SortedSet getSeriesColors()
getSeriesColors in interface JRChartPlotpublic void clearSeriesColors()
clearSeriesColors in interface JRChartPlotpublic void addSeriesColor(JRChartPlot.JRSeriesColor seriesColor)
addSeriesColor in interface JRChartPlotpublic void setSeriesColors(java.util.Collection colors)
JRChartPlotsetSeriesColors in interface JRChartPlotcolors - the list of series colors (JRChartPlot.JRSeriesColor instances}public java.lang.Object clone()
clone in interface JRCloneableclone in class java.lang.Objectpublic java.lang.Object clone(JRChart parentChart)
clone in interface JRChartPlotpublic JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupportgetEventSupport in interface JRChangeEventsSupport© 2001-2010 Jaspersoft Corporation www.jaspersoft.com