org.codehaus.mojo.dashboard.report.plugin.chart.time
Class AbstractTimeChartStrategy
java.lang.Object
org.codehaus.mojo.dashboard.report.plugin.chart.AbstractChartStrategy
org.codehaus.mojo.dashboard.report.plugin.chart.time.AbstractTimeChartStrategy
- All Implemented Interfaces:
- IChartStrategy
- Direct Known Subclasses:
- CheckstyleTimeChartStrategy, CloverTimeChartStrategy, CoberturaTimeChartStrategy, CpdTimeChartStrategy, FindBugsTimeChartStrategy, PmdTimeChartStrategy, SurefireTimeChartStrategy
public abstract class AbstractTimeChartStrategy
- extends AbstractChartStrategy
Constructor Summary |
AbstractTimeChartStrategy(java.util.ResourceBundle bundle,
java.lang.String title,
java.util.List results,
java.lang.String timeUnit,
java.util.Date startDate,
java.util.Date endDate)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xAxisLabel
public static java.lang.String xAxisLabel
yAxisLabel
public static java.lang.String yAxisLabel
defaultdataset
protected org.jfree.data.time.TimeSeriesCollection defaultdataset
bundle
protected java.util.ResourceBundle bundle
mResults
protected java.util.List mResults
timePeriod
protected TimePeriod timePeriod
periodClass
protected java.lang.Class periodClass
AbstractTimeChartStrategy
public AbstractTimeChartStrategy(java.util.ResourceBundle bundle,
java.lang.String title,
java.util.List results,
java.lang.String timeUnit,
java.util.Date startDate,
java.util.Date endDate)
getDataset
public org.jfree.data.general.Dataset getDataset()
getXAxisLabel
public java.lang.String getXAxisLabel()
- Specified by:
getXAxisLabel
in interface IChartStrategy
- Overrides:
getXAxisLabel
in class AbstractChartStrategy
- Returns:
getYAxisLabel
public java.lang.String getYAxisLabel()
- Specified by:
getYAxisLabel
in interface IChartStrategy
- Overrides:
getYAxisLabel
in class AbstractChartStrategy
- Returns:
getChartDate
protected org.jfree.data.time.RegularTimePeriod getChartDate(java.util.Date keyDate)
getTimePeriod
public TimePeriod getTimePeriod()
getRangeAxis
public org.jfree.chart.axis.NumberAxis getRangeAxis()
getEndDate
public java.util.Date getEndDate()
getStartDate
public java.util.Date getStartDate()
getLabelGenerator
public org.jfree.chart.labels.XYItemLabelGenerator getLabelGenerator()
Copyright © 2006-2010 CodeHaus. All Rights Reserved.