|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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 java.lang.Float |
backgroundAlphaFloat
|
protected JRChart |
chart
|
protected java.lang.Float |
foregroundAlphaFloat
|
protected java.lang.Double |
labelRotationDouble
|
protected PlotOrientationEnum |
orientationValue
|
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<JRChartPlot.JRSeriesColor> |
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()
|
java.lang.Object |
clone(JRChart parentChart)
|
java.awt.Color |
getBackcolor()
Gets the chart background color. |
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. |
java.lang.Float |
getForegroundAlphaFloat()
Gets the transparency factor for this plot foreground. |
java.lang.Double |
getLabelRotationDouble()
Deprecated. Replaced by JRCategoryAxisFormat.getCategoryAxisTickLabelRotation() . |
org.jfree.chart.plot.PlotOrientation |
getOrientation()
Deprecated. Replaced by getOrientationValue() . |
PlotOrientationEnum |
getOrientationValue()
Gets the plot orientation (horizontal or vertical). |
java.awt.Color |
getOwnBackcolor()
|
java.util.SortedSet<JRChartPlot.JRSeriesColor> |
getSeriesColors()
Returns a list of all the defined series colors. |
void |
setBackcolor(java.awt.Color backcolor)
Sets the chart background color. |
void |
setBackgroundAlpha(java.lang.Float backgroundAlpha)
Sets the transparency factor for this plot background. |
void |
setForegroundAlpha(java.lang.Float foregroundAlpha)
Sets the transparency factor for this plot foreground. |
void |
setLabelRotation(java.lang.Double labelRotation)
Deprecated. Replaced by JRCategoryAxisFormat.setCategoryAxisTickLabelRotation(Double) . |
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(java.util.Collection<JRChartPlot.JRSeriesColor> colors)
Set the list of series colors. |
Methods inherited from class java.lang.Object |
---|
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 PlotOrientationEnum orientationValue
protected java.lang.Float backgroundAlphaFloat
protected java.lang.Float foregroundAlphaFloat
protected java.lang.Double labelRotationDouble
protected java.util.SortedSet<JRChartPlot.JRSeriesColor> seriesColors
Constructor Detail |
---|
protected JRBaseChartPlot(JRChartPlot plot, JRChart chart)
protected JRBaseChartPlot(JRChartPlot plot, JRBaseObjectFactory factory)
Method Detail |
---|
public JRChart getChart()
JRChartPlot
getChart
in interface JRChartPlot
public java.awt.Color getBackcolor()
JRChartPlot
getBackcolor
in interface JRChartPlot
public java.awt.Color getOwnBackcolor()
getOwnBackcolor
in interface JRChartPlot
public void setBackcolor(java.awt.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 java.lang.Float getBackgroundAlphaFloat()
JRChartPlot
getBackgroundAlphaFloat
in interface JRChartPlot
public void setBackgroundAlpha(java.lang.Float backgroundAlpha)
JRChartPlot
setBackgroundAlpha
in interface JRChartPlot
public java.lang.Float getForegroundAlphaFloat()
JRChartPlot
getForegroundAlphaFloat
in interface JRChartPlot
public void setForegroundAlpha(java.lang.Float foregroundAlpha)
JRChartPlot
setForegroundAlpha
in interface JRChartPlot
public java.lang.Double getLabelRotationDouble()
JRCategoryAxisFormat.getCategoryAxisTickLabelRotation()
.
getLabelRotationDouble
in interface JRChartPlot
public void setLabelRotation(java.lang.Double labelRotation)
JRCategoryAxisFormat.setCategoryAxisTickLabelRotation(Double)
.
setLabelRotation
in interface JRChartPlot
public java.util.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(java.util.Collection<JRChartPlot.JRSeriesColor> colors)
JRChartPlot
setSeriesColors
in interface JRChartPlot
colors
- the list of series colors (JRChartPlot.JRSeriesColor
instances}public java.lang.Object clone()
clone
in interface JRCloneable
clone
in class java.lang.Object
public java.lang.Object clone(JRChart parentChart)
clone
in interface JRChartPlot
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |