net.sf.dynamicreports.report.base.chart.plot
Class AbstractBasePlot

java.lang.Object
  extended by net.sf.dynamicreports.report.base.chart.plot.AbstractBasePlot
All Implemented Interfaces:
Serializable, DRIBasePlot, DRIPlot
Direct Known Subclasses:
DRAxisPlot, DRPiePlot

public abstract class AbstractBasePlot
extends Object
implements DRIBasePlot

Author:
Ricardo Mariaca (r.mariaca@dynamicreports.org)
See Also:
Serialized Form

Constructor Summary
protected AbstractBasePlot()
           
 
Method Summary
 void addSeriesColor(Color color)
           
 void addSeriesColorByName(String seriesName, Color color)
           
 Orientation getOrientation()
           
 List<Color> getSeriesColors()
           
 Map<String,Color> getSeriesColorsByName()
           
protected  void init()
           
 void setOrientation(Orientation orientation)
           
 void setSeriesColors(List<Color> seriesColors)
           
 void setSeriesColorsByName(Map<String,Color> seriesColorsByName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBasePlot

protected AbstractBasePlot()
Method Detail

init

protected void init()

setOrientation

public void setOrientation(Orientation orientation)

getOrientation

public Orientation getOrientation()
Specified by:
getOrientation in interface DRIBasePlot

addSeriesColor

public void addSeriesColor(Color color)

setSeriesColors

public void setSeriesColors(List<Color> seriesColors)

getSeriesColors

public List<Color> getSeriesColors()
Specified by:
getSeriesColors in interface DRIBasePlot

addSeriesColorByName

public void addSeriesColorByName(String seriesName,
                                 Color color)

setSeriesColorsByName

public void setSeriesColorsByName(Map<String,Color> seriesColorsByName)

getSeriesColorsByName

public Map<String,Color> getSeriesColorsByName()
Specified by:
getSeriesColorsByName in interface DRIBasePlot


Copyright © 2010-2014. All Rights Reserved.