ingo@1115: /* ingo@1115: * Copyright (c) 2010 by Intevation GmbH ingo@1115: * ingo@1115: * This program is free software under the LGPL (>=v2.1) ingo@1115: * Read the file LGPL.txt coming with the software for details ingo@1115: * or visit http://www.gnu.org/licenses/ if it does not exist. ingo@1115: */ ingo@1115: 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: } sascha@836: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :