|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.expasy.jpl.commons.collection.render.Abstract2DChartRenderer<StatisticalSerie<T>>
org.expasy.jpl.commons.collection.render.BarCodeRenderer<T>
public final class BarCodeRenderer<T extends Number>
TODO: This object renders BarCode objects.
| Field Summary |
|---|
| Fields inherited from class org.expasy.jpl.commons.collection.render.Abstract2DChartRenderer |
|---|
dataset, DEFAULT_DIMENSION, DEFAULT_IMAGE_FORMAT, xAxisInterval |
| Method Summary | ||
|---|---|---|
void |
exportChart(StatisticalSerie<T> statSerie,
String dir,
String title)
Export as image file. |
|
void |
exportChart(String dir,
String title)
Export a chart (prerequisite: data sets have already been entered via addDataSet method). |
|
String |
getXLegend()
|
|
String |
getYLegend()
|
|
org.jfree.data.xy.XYSeriesCollection |
initDataset()
|
|
static
|
newInstance()
|
|
void |
populateData(StatisticalSerie<T> statSerie)
Add the statistical data set (default colors: 1st serie (blue), 2nd serie (red)). |
|
void |
setBarWidth(double width)
set the bar width |
|
| Methods inherited from class org.expasy.jpl.commons.collection.render.Abstract2DChartRenderer |
|---|
addAnnotInDefaultSeries, addCategory, addDataInSeries, addDataSet, addMultiDataSet, addToCurrentDataSeries, clearDataSet, exportChart, getChartColor, getImageFormat, getRenderingInfo, render, setBackgroundColor, setChartColor, setDimension, setImageFormat, setXAxisDefaultInterval, setXAxisInterval, setXAxisLegend, setYAxisLegend |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.expasy.jpl.commons.base.render.ChartRenderer |
|---|
exportChart, getChartColor, getImageFormat, render, setBackgroundColor, setChartColor, setDimension, setXAxisDefaultInterval, setXAxisInterval, setXAxisLegend, setYAxisLegend |
| Method Detail |
|---|
public static <T extends Number> BarCodeRenderer<T> newInstance()
public String getXLegend()
getXLegend in class Abstract2DChartRenderer<StatisticalSerie<T extends Number>>public String getYLegend()
getYLegend in class Abstract2DChartRenderer<StatisticalSerie<T extends Number>>public org.jfree.data.xy.XYSeriesCollection initDataset()
initDataset in class Abstract2DChartRenderer<StatisticalSerie<T extends Number>>public void setBarWidth(double width)
BarChartRenderer
setBarWidth in interface BarChartRendererpublic void populateData(StatisticalSerie<T> statSerie)
populateData in class Abstract2DChartRenderer<StatisticalSerie<T extends Number>>statSerie - the statistical serie to render.title - the title associated to the data set.
public void exportChart(StatisticalSerie<T> statSerie,
String dir,
String title)
statSerie - the statistical serie to render and export.dir - the directory to put new file in.title - the file name.
public void exportChart(String dir,
String title)
addDataSet method).
dir - the directory to put new file in.title - the file name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||