ingo@297: package de.intevation.gnv.chart; ingo@297: sascha@446: import java.io.Serializable; sascha@446: sascha@779: import org.jfree.chart.JFreeChart; ingo@297: ingo@297: /** sascha@778: * The Chart interface should be implemented by each type of chart. sascha@778: * 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: } ingo@793: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :