de.laures.cewolf.taglib
Class CombinedChartDefinition

java.lang.Object
  extended byde.laures.cewolf.taglib.AbstractChartDefinition
      extended byde.laures.cewolf.taglib.CombinedChartDefinition
All Implemented Interfaces:
ChartHolder, ChartImageRenderListener, java.io.Serializable, TaglibConstants

public class CombinedChartDefinition
extends AbstractChartDefinition
implements java.io.Serializable

Chart definition subclass to handle combined charts

Author:
guido, tbardzil
See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.laures.cewolf.taglib.AbstractChartDefinition
log, title, type, xAxisLabel, yAxisLabel
 
Fields inherited from interface de.laures.cewolf.taglib.TaglibConstants
ANCHOR_EAST, ANCHOR_NORTH, ANCHOR_SOUTH, ANCHOR_WEST, TOOLTIPS_ENABLED_KEY
 
Constructor Summary
CombinedChartDefinition()
           
 
Method Summary
 void addPlot(PlotDefinition pd)
           
 java.lang.Object getDataset()
          Returns the dataset produced when using this definition.The type of this object is dependant on the underlying chart implementation.
protected  org.jfree.chart.JFreeChart produceChart()
           
 void setLayout(java.lang.String layout)
           
 
Methods inherited from class de.laures.cewolf.taglib.AbstractChartDefinition
addPostProcessor, addPostProcessorParams, getChart, getLegend, onImageRendered, removeLegend, setAntialias, setBackground, setBackgroundImageAlpha, setLegendAnchor, setPaint, setShowLegend, setTitle, setType, setXAxisLabel, setYAxisLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombinedChartDefinition

public CombinedChartDefinition()
Method Detail

setLayout

public void setLayout(java.lang.String layout)

getDataset

public java.lang.Object getDataset()
                            throws DatasetProduceException
Description copied from interface: ChartHolder
Returns the dataset produced when using this definition.The type of this object is dependant on the underlying chart implementation. As of this version of Cewolf it is of type org.jfree.data.Dataset.

Specified by:
getDataset in interface ChartHolder
Returns:
Object the dataset for this definition
Throws:
DatasetProduceException - if the dataset could not be produced

addPlot

public void addPlot(PlotDefinition pd)

produceChart

protected org.jfree.chart.JFreeChart produceChart()
                                           throws DatasetProduceException,
                                                  ChartValidationException
Specified by:
produceChart in class AbstractChartDefinition
Throws:
DatasetProduceException
ChartValidationException


Copyright © {inceptionYear}-2007 null. All Rights Reserved.