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.
|
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, wait
collectExpressions
public 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)
public JRChart getChart()
JRChartPlot
getChart
in interface JRChartPlot
public Color getBackcolor()
JRChartPlot
getBackcolor
in interface JRChartPlot
public Color getOwnBackcolor()
getOwnBackcolor
in interface JRChartPlot
public void setBackcolor(Color backcolor)
JRChartPlot
setBackcolor
in interface JRChartPlot
public org.jfree.chart.plot.PlotOrientation getOrientation()
getOrientationValue()
.getOrientation
in interface JRChartPlot
public PlotOrientationEnum getOrientationValue()
JRChartPlot
getOrientationValue
in interface JRChartPlot
public void setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
setOrientation(PlotOrientationEnum)
.setOrientation
in interface JRChartPlot
public void setOrientation(PlotOrientationEnum orientationValue)
JRChartPlot
setOrientation
in interface JRChartPlot
public Float getBackgroundAlphaFloat()
JRChartPlot
getBackgroundAlphaFloat
in interface JRChartPlot
public void setBackgroundAlpha(Float backgroundAlpha)
JRChartPlot
setBackgroundAlpha
in interface JRChartPlot
public Float getForegroundAlphaFloat()
JRChartPlot
getForegroundAlphaFloat
in interface JRChartPlot
public void setForegroundAlpha(Float foregroundAlpha)
JRChartPlot
setForegroundAlpha
in interface JRChartPlot
public Double getLabelRotationDouble()
JRCategoryAxisFormat.getCategoryAxisTickLabelRotation()
.getLabelRotationDouble
in interface JRChartPlot
public void setLabelRotation(Double labelRotation)
JRCategoryAxisFormat.setCategoryAxisTickLabelRotation(Double)
.setLabelRotation
in interface JRChartPlot
public SortedSet<JRChartPlot.JRSeriesColor> getSeriesColors()
getSeriesColors
in interface JRChartPlot
public void clearSeriesColors()
clearSeriesColors
in interface JRChartPlot
public void addSeriesColor(JRChartPlot.JRSeriesColor seriesColor)
addSeriesColor
in interface JRChartPlot
public void setSeriesColors(Collection<JRChartPlot.JRSeriesColor> colors)
JRChartPlot
setSeriesColors
in interface JRChartPlot
colors
- the list of series colors (JRChartPlot.JRSeriesColor
instances}public Object clone()
clone
in interface JRCloneable
clone
in class Object
public Object clone(JRChart parentChart)
clone
in interface JRChartPlot
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
Copyright © 2013. All Rights Reserved.