|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseChartPlot
public abstract class JRBaseChartPlot
| Nested Class Summary | |
|---|---|
static class |
JRBaseChartPlot.JRBaseSeriesColor
|
| Nested classes/interfaces inherited from interface net.sf.jasperreports.engine.JRChartPlot |
|---|
JRChartPlot.JRSeriesColor |
| Field Summary | |
|---|---|
protected java.awt.Color |
backcolor
|
protected float |
backgroundAlpha
|
protected JRChart |
chart
|
protected float |
foregroundAlpha
|
protected double |
labelRotation
|
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
|
| Constructor Summary | |
|---|---|
protected |
JRBaseChartPlot(JRChartPlot plot,
JRBaseObjectFactory factory)
|
protected |
JRBaseChartPlot(JRChartPlot plot,
JRChart chart)
|
| Method Summary | |
|---|---|
void |
addSeriesColor(JRChartPlot.JRSeriesColor seriesColor)
Adds the specified series color to the plot. |
void |
clearSeriesColors()
Removes all defined series colors. |
java.lang.Object |
clone(JRChart parentChart)
|
java.awt.Color |
getBackcolor()
Gets the chart background color. |
float |
getBackgroundAlpha()
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()
Gets the transparency factor for this plot foreground. |
double |
getLabelRotation()
Gets the angle in degrees to rotate the data axis labels. |
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)
Sets the transparency factor for this plot background. |
void |
setForegroundAlpha(float foregroundAlpha)
Sets the transparency factor for this plot foreground. |
void |
setLabelRotation(double labelRotation)
Sets the angle in degrees to rotate the data axis labels. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.jasperreports.engine.JRChartPlot |
|---|
collectExpressions |
| Field Detail |
|---|
public 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 float backgroundAlpha
protected float foregroundAlpha
protected double labelRotation
protected java.util.SortedSet seriesColors
| Constructor Detail |
|---|
protected JRBaseChartPlot(JRChartPlot plot,
JRChart chart)
protected JRBaseChartPlot(JRChartPlot plot,
JRBaseObjectFactory factory)
| Method Detail |
|---|
public JRChart getChart()
JRChartPlot
getChart in interface JRChartPlotpublic java.awt.Color getBackcolor()
JRChartPlot
getBackcolor in interface JRChartPlotpublic java.awt.Color getOwnBackcolor()
getOwnBackcolor in interface JRChartPlotpublic void setBackcolor(java.awt.Color backcolor)
JRChartPlot
setBackcolor in interface JRChartPlotpublic org.jfree.chart.plot.PlotOrientation getOrientation()
JRChartPlot
getOrientation in interface JRChartPlotpublic void setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
JRChartPlot
setOrientation in interface JRChartPlotpublic float getBackgroundAlpha()
JRChartPlot
getBackgroundAlpha in interface JRChartPlotpublic void setBackgroundAlpha(float backgroundAlpha)
JRChartPlot
setBackgroundAlpha in interface JRChartPlotpublic float getForegroundAlpha()
JRChartPlot
getForegroundAlpha in interface JRChartPlotpublic void setForegroundAlpha(float foregroundAlpha)
JRChartPlot
setForegroundAlpha in interface JRChartPlotpublic double getLabelRotation()
getLabelRotation in interface JRChartPlotpublic void setLabelRotation(double labelRotation)
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)
JRChartPlot
setSeriesColors in interface JRChartPlotcolors - the list of series colors (JRChartPlot.JRSeriesColor instances}public java.lang.Object clone(JRChart parentChart)
clone in interface JRChartPlotpublic JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport in interface JRChangeEventsSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||