Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java @ 3076:5642a83420f2
FLYS artifacts: Removed trailing whitespace.
flys-artifacts/trunk@4670 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 15 Jun 2012 09:30:07 +0000 |
parents | 0ace00c0c12a |
children | 26119b7b3154 |
comparison
equal
deleted
inserted
replaced
3075:db9e2bb34707 | 3076:5642a83420f2 |
---|---|
21 import org.jfree.data.general.DatasetUtilities; | 21 import org.jfree.data.general.DatasetUtilities; |
22 import org.jfree.data.xy.XYSeries; | 22 import org.jfree.data.xy.XYSeries; |
23 | 23 |
24 import org.w3c.dom.Document; | 24 import org.w3c.dom.Document; |
25 | 25 |
26 public class FixWQCurveGenerator | 26 public class FixWQCurveGenerator |
27 extends XYChartGenerator | 27 extends XYChartGenerator |
28 implements FacetTypes | 28 implements FacetTypes |
29 { | 29 { |
30 private static Logger logger = | 30 private static Logger logger = |
31 Logger.getLogger(FixWQCurveGenerator.class); | 31 Logger.getLogger(FixWQCurveGenerator.class); |
32 | 32 |
91 | 91 |
92 protected void doSectorAverageOut(ArtifactAndFacet aaf, Document doc, boolean visible) { | 92 protected void doSectorAverageOut(ArtifactAndFacet aaf, Document doc, boolean visible) { |
93 logger.debug("doSectorAverageOut"); | 93 logger.debug("doSectorAverageOut"); |
94 | 94 |
95 QWD[] qwds = (QWD[])aaf.getData(context); | 95 QWD[] qwds = (QWD[])aaf.getData(context); |
96 | 96 |
97 if(qwds != null) { | 97 if(qwds != null) { |
98 // Draw vertical markers | 98 // Draw vertical markers |
99 for(QWD qwd : qwds) { | 99 for(QWD qwd : qwds) { |
100 if (qwd != null) { | 100 if (qwd != null) { |
101 addDomainMarker(new ValueMarker(qwd.getQ())); | 101 addDomainMarker(new ValueMarker(qwd.getQ())); |
120 | 120 |
121 protected void doAnalysisPeriodsOut(ArtifactAndFacet aaf, Document doc, boolean visible) { | 121 protected void doAnalysisPeriodsOut(ArtifactAndFacet aaf, Document doc, boolean visible) { |
122 logger.debug("doAnalysisPeriodsOut"); | 122 logger.debug("doAnalysisPeriodsOut"); |
123 | 123 |
124 DateRange[] dateRanges = (DateRange[])aaf.getData(context); | 124 DateRange[] dateRanges = (DateRange[])aaf.getData(context); |
125 //TODO What to do with Date ranges? | 125 //TODO What to do with Date ranges? |
126 } | 126 } |
127 | 127 |
128 protected void doReferenceEventsOut(ArtifactAndFacet aaf, Document doc, boolean visible) { | 128 protected void doReferenceEventsOut(ArtifactAndFacet aaf, Document doc, boolean visible) { |
129 logger.debug("doReferenceEventsOut"); | 129 logger.debug("doReferenceEventsOut"); |
130 | 130 |
200 public String getId(int idx) { | 200 public String getId(int idx) { |
201 YAXIS[] yaxes = YAXIS.values(); | 201 YAXIS[] yaxes = YAXIS.values(); |
202 return yaxes[idx].toString(); | 202 return yaxes[idx].toString(); |
203 } | 203 } |
204 }; | 204 }; |
205 } | 205 } |
206 } | 206 } |
207 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 207 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |