Mercurial > dive4elements > gnv-client
view gnv-artifacts/src/main/java/de/intevation/gnv/chart/Chart.java @ 300:6a3a02e004d9
Refactored process of chart generation. Charts will be generated via Chart-Interface from rev351 and no more via factory classes.
gnv-artifacts/trunk@354 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 20 Nov 2009 13:51:14 +0000 |
parents | 3f43392df3f6 |
children | 9ba2cf8cad8d |
line wrap: on
line source
package de.intevation.gnv.chart; import java.io.IOException; import java.awt.image.BufferedImage; import org.jfree.chart.JFreeChart; /** * @author Ingo Weinzierl <ingo.weinzierl@intevation.de> */ public interface Chart { public JFreeChart generateChart(); public BufferedImage exportPNG(int width, int height) throws IOException; public void exportSVG(); //TODO Change return value public void exportPDF(); //TODO Change return value }