org.codehaus.mojo.dashboard.report.plugin.chart
Class AbstractChartStrategy

java.lang.Object
  extended by org.codehaus.mojo.dashboard.report.plugin.chart.AbstractChartStrategy
All Implemented Interfaces:
IChartStrategy
Direct Known Subclasses:
AbstractCategoryChartStrategy, AbstractPieChartStrategy, AbstractTimeChartStrategy

public abstract class AbstractChartStrategy
extends java.lang.Object
implements IChartStrategy

Author:
David Vicente

Constructor Summary
AbstractChartStrategy()
           
 
Method Summary
 java.awt.Paint[] getPaintColor()
           
 java.lang.String getTitle()
           
 java.lang.String getXAxisLabel()
           
 java.lang.String getYAxisLabel()
           
 boolean isDatasetEmpty()
           
 void setDatasetEmpty(boolean isDatasetEmpty)
           
 void setTitle(java.lang.String title)
           
 void setXAxisLabel(java.lang.String xAxisLabel)
           
 void setYAxisLabel(java.lang.String yAxisLabel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.mojo.dashboard.report.plugin.chart.IChartStrategy
fillDataset, getDataset
 

Constructor Detail

AbstractChartStrategy

public AbstractChartStrategy()
Method Detail

getXAxisLabel

public java.lang.String getXAxisLabel()
Specified by:
getXAxisLabel in interface IChartStrategy
Returns:

getYAxisLabel

public java.lang.String getYAxisLabel()
Specified by:
getYAxisLabel in interface IChartStrategy
Returns:

setXAxisLabel

public void setXAxisLabel(java.lang.String xAxisLabel)
Specified by:
setXAxisLabel in interface IChartStrategy

setYAxisLabel

public void setYAxisLabel(java.lang.String yAxisLabel)
Specified by:
setYAxisLabel in interface IChartStrategy

getPaintColor

public java.awt.Paint[] getPaintColor()
Specified by:
getPaintColor in interface IChartStrategy
Returns:

isDatasetEmpty

public boolean isDatasetEmpty()
Specified by:
isDatasetEmpty in interface IChartStrategy
Returns:

setDatasetEmpty

public void setDatasetEmpty(boolean isDatasetEmpty)
Specified by:
setDatasetEmpty in interface IChartStrategy

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface IChartStrategy
Returns:

setTitle

public void setTitle(java.lang.String title)


Copyright © 2006-2009 CodeHaus. All Rights Reserved.