public abstract class JRBaseChartPlot extends Object implements JRChartPlot, Serializable, JRChangeEventsSupport
| Modifier and Type | Class and Description |
|---|---|
static class |
JRBaseChartPlot.JRBaseSeriesColor |
JRChartPlot.JRSeriesColor| Modifier and Type | Field and Description |
|---|---|
protected Color |
backcolor |
protected Float |
backgroundAlphaFloat |
protected JRChart |
chart |
protected Float |
foregroundAlphaFloat |
protected Double |
labelRotationDouble |
protected PlotOrientationEnum |
orientationValue |
static String |
PROPERTY_BACKCOLOR |
static String |
PROPERTY_BACKGROUND_ALPHA |
static String |
PROPERTY_FOREGROUND_ALPHA |
static String |
PROPERTY_LABEL_ROTATION |
static String |
PROPERTY_ORIENTATION |
static String |
PROPERTY_SERIES_COLORS |
protected SortedSet<JRChartPlot.JRSeriesColor> |
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.
|
Object |
clone() |
Object |
clone(JRChart parentChart) |
Color |
getBackcolor()
Gets the chart background color.
|
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 |
getForegroundAlphaFloat()
Gets the transparency factor for this plot foreground.
|
Double |
getLabelRotationDouble()
Deprecated.
|
org.jfree.chart.plot.PlotOrientation |
getOrientation()
Deprecated.
Replaced by
getOrientationValue(). |
PlotOrientationEnum |
getOrientationValue()
Gets the plot orientation (horizontal or vertical).
|
Color |
getOwnBackcolor() |
SortedSet<JRChartPlot.JRSeriesColor> |
getSeriesColors()
Returns a list of all the defined series colors.
|
protected StyleResolver |
getStyleResolver() |
void |
setBackcolor(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)
Deprecated.
|
void |
setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
Deprecated.
Replaced by
setOrientation(PlotOrientationEnum). |
void |
setOrientation(PlotOrientationEnum orientationValue)
Sets the plot orientation (horizontal or vertical).
|
void |
setSeriesColors(Collection<JRChartPlot.JRSeriesColor> colors)
Set the list of series colors.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcollectExpressionspublic static final String PROPERTY_BACKCOLOR
public static final String PROPERTY_BACKGROUND_ALPHA
public static final String PROPERTY_FOREGROUND_ALPHA
public static final String PROPERTY_LABEL_ROTATION
public static final String PROPERTY_ORIENTATION
public static final String PROPERTY_SERIES_COLORS
protected JRChart chart
protected Color backcolor
protected PlotOrientationEnum orientationValue
protected Float backgroundAlphaFloat
protected Float foregroundAlphaFloat
protected Double labelRotationDouble
protected SortedSet<JRChartPlot.JRSeriesColor> seriesColors
protected JRBaseChartPlot(JRChartPlot plot, JRChart chart)
protected JRBaseChartPlot(JRChartPlot plot, JRBaseObjectFactory factory)
protected StyleResolver getStyleResolver()
public JRChart getChart()
JRChartPlotgetChart in interface JRChartPlotpublic Color getBackcolor()
JRChartPlotgetBackcolor in interface JRChartPlotpublic Color getOwnBackcolor()
getOwnBackcolor in interface JRChartPlotpublic void setBackcolor(Color backcolor)
JRChartPlotsetBackcolor in interface JRChartPlotpublic org.jfree.chart.plot.PlotOrientation getOrientation()
getOrientationValue().getOrientation in interface JRChartPlotpublic PlotOrientationEnum getOrientationValue()
JRChartPlotgetOrientationValue in interface JRChartPlotpublic void setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
setOrientation(PlotOrientationEnum).setOrientation in interface JRChartPlotpublic void setOrientation(PlotOrientationEnum orientationValue)
JRChartPlotsetOrientation in interface JRChartPlotpublic Float getBackgroundAlphaFloat()
JRChartPlotgetBackgroundAlphaFloat in interface JRChartPlotpublic void setBackgroundAlpha(Float backgroundAlpha)
JRChartPlotsetBackgroundAlpha in interface JRChartPlotpublic Float getForegroundAlphaFloat()
JRChartPlotgetForegroundAlphaFloat in interface JRChartPlotpublic void setForegroundAlpha(Float foregroundAlpha)
JRChartPlotsetForegroundAlpha in interface JRChartPlotpublic Double getLabelRotationDouble()
JRCategoryAxisFormat.getCategoryAxisTickLabelRotation().getLabelRotationDouble in interface JRChartPlotpublic void setLabelRotation(Double labelRotation)
JRCategoryAxisFormat.setCategoryAxisTickLabelRotation(Double).setLabelRotation in interface JRChartPlotpublic SortedSet<JRChartPlot.JRSeriesColor> getSeriesColors()
getSeriesColors in interface JRChartPlotpublic void clearSeriesColors()
clearSeriesColors in interface JRChartPlotpublic void addSeriesColor(JRChartPlot.JRSeriesColor seriesColor)
addSeriesColor in interface JRChartPlotpublic void setSeriesColors(Collection<JRChartPlot.JRSeriesColor> colors)
JRChartPlotsetSeriesColors in interface JRChartPlotcolors - the list of series colors (JRChartPlot.JRSeriesColor instances}public Object clone()
clone in interface JRCloneableclone in class Objectpublic Object clone(JRChart parentChart)
clone in interface JRChartPlotpublic JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupportgetEventSupport in interface JRChangeEventsSupportCopyright © 2017. All rights reserved.