ingo@297: package de.intevation.gnv.chart;
ingo@297:
ingo@297: import org.jfree.chart.JFreeChart;
ingo@297:
sascha@446: import java.io.Serializable;
sascha@446:
ingo@297:
ingo@297: /**
ingo@767: * The Chart
interface should be implemented by each type of chart.
ingo@767: * The class must implement a method generateChart
which returns a
ingo@767: * JFreeChart object.
ingo@767: *
ingo@767: * @author Ingo Weinzierl
ingo@297: */
sascha@446: public interface Chart
sascha@446: extends Serializable
sascha@446: {
ingo@767: /**
ingo@767: * This method is used to create a JFreeChart of this object.
ingo@767: *
ingo@767: * @return JFreeChart object.
ingo@767: */
ingo@297: public JFreeChart generateChart();
ingo@297: }