Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/ChartInfoGenerator.java @ 7037:5c6fd2c010dd generator-refactoring
Add setup(Element config) method to Generator interface to be initialized from configuration.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Wed, 18 Sep 2013 15:04:26 +0200 |
parents | 1b35b2ddfc28 |
children | 0a337f0005c2 |
comparison
equal
deleted
inserted
replaced
7034:557cb3a3d772 | 7037:5c6fd2c010dd |
---|---|
21 import java.awt.geom.Rectangle2D; | 21 import java.awt.geom.Rectangle2D; |
22 | 22 |
23 import java.awt.image.BufferedImage; | 23 import java.awt.image.BufferedImage; |
24 | 24 |
25 import org.w3c.dom.Document; | 25 import org.w3c.dom.Document; |
26 import org.w3c.dom.Element; | |
26 | 27 |
27 import org.apache.log4j.Logger; | 28 import org.apache.log4j.Logger; |
28 | 29 |
29 import org.jfree.chart.ChartRenderingInfo; | 30 import org.jfree.chart.ChartRenderingInfo; |
30 import org.jfree.chart.JFreeChart; | 31 import org.jfree.chart.JFreeChart; |
67 | 68 |
68 public ChartInfoGenerator(ChartGenerator generator) { | 69 public ChartInfoGenerator(ChartGenerator generator) { |
69 this.generator = generator; | 70 this.generator = generator; |
70 } | 71 } |
71 | 72 |
73 public void setup(Element config) { | |
74 logger.debug("ChartInfoGenerator.setup"); | |
75 } | |
76 | |
72 | 77 |
73 /** | 78 /** |
74 * Dispatches the operation to the instantiated generator. | 79 * Dispatches the operation to the instantiated generator. |
75 * | 80 * |
76 * @param request | 81 * @param request |