Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/sq/SQRelationGenerator.java @ 6905:1b35b2ddfc28
Artifacts: Introduce ThemeDocument & make stuff compileable again. THIS BREAKS THE SYSTEM! TODO: Move ThemeUtils into ThemeDocument.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 22 Aug 2013 23:31:38 +0200 |
parents | 68fd84c474b7 |
children |
comparison
equal
deleted
inserted
replaced
6904:d710bd3df387 | 6905:1b35b2ddfc28 |
---|---|
22 | 22 |
23 import org.dive4elements.river.exports.XYChartGenerator; | 23 import org.dive4elements.river.exports.XYChartGenerator; |
24 | 24 |
25 import org.dive4elements.river.jfree.JFreeUtil; | 25 import org.dive4elements.river.jfree.JFreeUtil; |
26 import org.dive4elements.river.jfree.StyledXYSeries; | 26 import org.dive4elements.river.jfree.StyledXYSeries; |
27 import org.dive4elements.river.themes.ThemeDocument; | |
27 | 28 |
28 import org.apache.log4j.Logger; | 29 import org.apache.log4j.Logger; |
29 | 30 |
30 import org.jfree.chart.axis.LogarithmicAxis; | 31 import org.jfree.chart.axis.LogarithmicAxis; |
31 import org.jfree.chart.axis.NumberAxis; | 32 import org.jfree.chart.axis.NumberAxis; |
32 | 33 |
33 import org.jfree.data.xy.XYSeries; | 34 import org.jfree.data.xy.XYSeries; |
34 | 35 |
35 import org.w3c.dom.Document; | |
36 | 36 |
37 /** | 37 /** |
38 * An OutGenerator that generates charts for MINFO sq relation. | 38 * An OutGenerator that generates charts for MINFO sq relation. |
39 * | 39 * |
40 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 40 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
133 | 133 |
134 | 134 |
135 @Override | 135 @Override |
136 public void doOut( | 136 public void doOut( |
137 ArtifactAndFacet artifactAndFacet, | 137 ArtifactAndFacet artifactAndFacet, |
138 Document attr, | 138 ThemeDocument attr, |
139 boolean visible | 139 boolean visible |
140 ) { | 140 ) { |
141 logger.debug("doOut"); | 141 logger.debug("doOut"); |
142 | 142 |
143 this.artifact = (D4EArtifact) artifactAndFacet.getArtifact(); | 143 this.artifact = (D4EArtifact) artifactAndFacet.getArtifact(); |
170 } | 170 } |
171 | 171 |
172 | 172 |
173 protected void doSQCurveOut( | 173 protected void doSQCurveOut( |
174 ArtifactAndFacet artifactAndFacet, | 174 ArtifactAndFacet artifactAndFacet, |
175 Document attr, | 175 ThemeDocument attr, |
176 boolean visible | 176 boolean visible |
177 ) { | 177 ) { |
178 String desc = artifactAndFacet.getFacetDescription(); | 178 String desc = artifactAndFacet.getFacetDescription(); |
179 logger.debug("doSQCurveOut: " + desc); | 179 logger.debug("doSQCurveOut: " + desc); |
180 | 180 |
206 } | 206 } |
207 | 207 |
208 | 208 |
209 protected void doSQOut( | 209 protected void doSQOut( |
210 ArtifactAndFacet artifactAndFacet, | 210 ArtifactAndFacet artifactAndFacet, |
211 Document attr, | 211 ThemeDocument attr, |
212 boolean visible | 212 boolean visible |
213 ) { | 213 ) { |
214 String desc = artifactAndFacet.getFacetDescription(); | 214 String desc = artifactAndFacet.getFacetDescription(); |
215 logger.debug("doSQOut: " + desc); | 215 logger.debug("doSQOut: " + desc); |
216 | 216 |