net.sf.jasperreports.engine.base
Class JRBaseChartPlot

java.lang.Object
  extended bynet.sf.jasperreports.engine.base.JRBaseChartPlot
All Implemented Interfaces:
JRChartPlot, java.io.Serializable
Direct Known Subclasses:
JRBaseAreaPlot, JRBaseBar3DPlot, JRBaseBarPlot, JRBaseBubblePlot, JRBaseCandlestickPlot, JRBaseHighLowPlot, JRBaseLinePlot, JRBasePie3DPlot, JRBasePiePlot, JRBaseScatterPlot, JRBaseTimeSeriesPlot

public abstract class JRBaseChartPlot
extends java.lang.Object
implements JRChartPlot, java.io.Serializable

Version:
$Id: JRBaseChartPlot.java,v 1.8 2005/10/09 21:34:26 teodord Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
protected  java.awt.Color backcolor
           
protected  float backgroundAlpha
           
protected  float foregroundAlpha
           
protected  org.jfree.chart.plot.PlotOrientation orientation
           
 
Constructor Summary
protected JRBaseChartPlot(JRChartPlot plot)
           
protected JRBaseChartPlot(JRChartPlot plot, JRBaseObjectFactory factory)
           
 
Method Summary
 java.awt.Color getBackcolor()
          Gets the chart background color.
 float getBackgroundAlpha()
          Gets the transparency factor for this plot background.
 float getForegroundAlpha()
          Gets the transparency factor for this plot foreground.
 org.jfree.chart.plot.PlotOrientation getOrientation()
          Gets the plot orientation (horizontal or vertical).
 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 setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
          Sets the plot orientation (horizontal or vertical).
 
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

backcolor

protected java.awt.Color backcolor

orientation

protected org.jfree.chart.plot.PlotOrientation orientation

backgroundAlpha

protected float backgroundAlpha

foregroundAlpha

protected float foregroundAlpha
Constructor Detail

JRBaseChartPlot

protected JRBaseChartPlot(JRChartPlot plot)

JRBaseChartPlot

protected JRBaseChartPlot(JRChartPlot plot,
                          JRBaseObjectFactory factory)
Method Detail

getBackcolor

public java.awt.Color getBackcolor()
Description copied from interface: JRChartPlot
Gets the chart background color.

Specified by:
getBackcolor in interface JRChartPlot

setBackcolor

public void setBackcolor(java.awt.Color backcolor)
Description copied from interface: JRChartPlot
Sets the chart background color.

Specified by:
setBackcolor in interface JRChartPlot

getOrientation

public org.jfree.chart.plot.PlotOrientation getOrientation()
Description copied from interface: JRChartPlot
Gets the plot orientation (horizontal or vertical).

Specified by:
getOrientation in interface JRChartPlot

setOrientation

public void setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
Description copied from interface: JRChartPlot
Sets the plot orientation (horizontal or vertical).

Specified by:
setOrientation in interface JRChartPlot

getBackgroundAlpha

public float getBackgroundAlpha()
Description copied from interface: JRChartPlot
Gets the transparency factor for this plot background. The range is from 0 to 1, where 0 means transparent and 1 opaque. The default is 1.

Specified by:
getBackgroundAlpha in interface JRChartPlot
Returns:
a float value between 0 and 1.

setBackgroundAlpha

public void setBackgroundAlpha(float backgroundAlpha)
Description copied from interface: JRChartPlot
Sets the transparency factor for this plot background. The range is from 0 to 1, where 0 means transparent and 1 opaque. The default is 1.

Specified by:
setBackgroundAlpha in interface JRChartPlot

getForegroundAlpha

public float getForegroundAlpha()
Description copied from interface: JRChartPlot
Gets the transparency factor for this plot foreground. The range is from 0 to 1, where 0 means transparent and 1 opaque. The default is 1.

Specified by:
getForegroundAlpha in interface JRChartPlot
Returns:
a float value between 0 and 1.

setForegroundAlpha

public void setForegroundAlpha(float foregroundAlpha)
Description copied from interface: JRChartPlot
Sets the transparency factor for this plot foreground. The range is from 0 to 1, where 0 means transparent and 1 opaque. The default is 1.

Specified by:
setForegroundAlpha in interface JRChartPlot


© 2001-2005 JasperSoft Corporation www.jaspersoft.com