|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.laures.cewolf.taglib.PlotDefinition
public class PlotDefinition
(sub) Plot definition for combined/overlaid charts.
Field Summary | |
---|---|
private DataContainer |
dataAware
|
private org.jfree.chart.plot.DrawingSupplier |
drawingSupplier
|
private org.apache.commons.logging.Log |
log
|
private org.jfree.chart.plot.Plot |
plot
|
private java.lang.String |
type
|
private java.lang.String |
xAxisLabel
|
private java.lang.String |
yAxisLabel
|
Fields inherited from interface de.laures.cewolf.taglib.TaglibConstants |
---|
ANCHOR_EAST, ANCHOR_NORTH, ANCHOR_SOUTH, ANCHOR_WEST, TOOLTIPS_ENABLED_KEY |
Fields inherited from interface de.laures.cewolf.taglib.PlotConstants |
---|
AREA, CANDLESTICK, HIGH_LOW, LINE, SCATTER, SHAPES_AND_LINES, SIGNAL, STEP, VERTICAL_BAR, XY_AREA, XY_LINE, XY_SHAPES_AND_LINES, XY_VERTICAL_BAR |
Constructor Summary | |
---|---|
PlotDefinition()
|
Method Summary | |
---|---|
void |
check(org.jfree.data.general.Dataset data,
java.lang.Class clazz,
int plotType)
|
java.lang.Object |
getDataset()
|
org.jfree.chart.plot.Plot |
getPlot(int chartType)
|
java.lang.String |
getType()
Gets the type. |
java.lang.String |
getXaxislabel()
Gets the y-axis label. |
java.lang.String |
getYaxislabel()
Sets the x-axis label [tb] |
void |
setDataProductionConfig(DatasetProducer dsp,
java.util.Map params,
boolean useCache)
|
void |
setDrawingSupplier(org.jfree.chart.plot.DrawingSupplier drawingSupplier)
Sets the drawingSupplier. |
void |
setType(java.lang.String type)
Sets the type. |
void |
setXaxislabel(java.lang.String xAxisLabel)
Sets the x-axis label [tb] |
void |
setYaxislabel(java.lang.String yAxisLabel)
Sets the y-axis label [tb] |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private transient org.apache.commons.logging.Log log
private java.lang.String type
private java.lang.String xAxisLabel
private java.lang.String yAxisLabel
private DataContainer dataAware
private transient org.jfree.chart.plot.Plot plot
private transient org.jfree.chart.plot.DrawingSupplier drawingSupplier
Constructor Detail |
---|
public PlotDefinition()
Method Detail |
---|
public org.jfree.chart.plot.Plot getPlot(int chartType) throws DatasetProduceException, ChartValidationException
DatasetProduceException
ChartValidationException
public java.lang.Object getDataset() throws DatasetProduceException
DatasetProduceException
public java.lang.String getXaxislabel()
public java.lang.String getYaxislabel()
public void setXaxislabel(java.lang.String xAxisLabel)
xAxisLabel
- New value of property xAxisLabel.public void setYaxislabel(java.lang.String yAxisLabel)
yAxisLabel
- New value of property yAxisLabel.public void setType(java.lang.String type)
type
- The type to setpublic java.lang.String getType()
public void check(org.jfree.data.general.Dataset data, java.lang.Class clazz, int plotType) throws IncompatibleDatasetException
IncompatibleDatasetException
public void setDataProductionConfig(DatasetProducer dsp, java.util.Map params, boolean useCache)
setDataProductionConfig
in interface DataAware
public void setDrawingSupplier(org.jfree.chart.plot.DrawingSupplier drawingSupplier)
drawingSupplier
- The drawingSupplier to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |