diff artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixWQCurveGenerator.java @ 5864:f2e46a668fe6

River artifacts: Renamed FLYSAnnotation to RiverAnnotation.
author Sascha L. Teichmann <teichmann@intevation.de>
date Sun, 28 Apr 2013 15:04:44 +0200
parents 4897a58c8746
children 73da40528cf2
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixWQCurveGenerator.java	Sun Apr 28 14:40:59 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixWQCurveGenerator.java	Sun Apr 28 15:04:44 2013 +0200
@@ -46,7 +46,7 @@
 import org.dive4elements.river.exports.ChartGenerator;
 import org.dive4elements.river.exports.StyledSeriesBuilder;
 import org.dive4elements.river.jfree.CollisionFreeXYTextAnnotation;
-import org.dive4elements.river.jfree.FLYSAnnotation;
+import org.dive4elements.river.jfree.RiverAnnotation;
 import org.dive4elements.river.jfree.JFreeUtil;
 import org.dive4elements.river.jfree.StickyAxisAnnotation;
 import org.dive4elements.river.jfree.StyledXYSeries;
@@ -214,7 +214,7 @@
 
             addAxisSeries(series, 0, visible);
             if(visible && ThemeUtil.parseShowPointLabel(doc)) {
-                FLYSAnnotation flysAnno = new FLYSAnnotation(null, null, null, doc);
+                RiverAnnotation flysAnno = new RiverAnnotation(null, null, null, doc);
                 flysAnno.setTextAnnotations(textAnnos);
                 addAnnotations(flysAnno);
             }
@@ -247,7 +247,7 @@
 
             addAxisSeries(series, 0, visible);
             if(visible && ThemeUtil.parseShowPointLabel(doc)) {
-                FLYSAnnotation flysAnno = new FLYSAnnotation(null, null, null, doc);
+                RiverAnnotation flysAnno = new RiverAnnotation(null, null, null, doc);
                 flysAnno.setTextAnnotations(textAnnos);
                 addAnnotations(flysAnno);
             }
@@ -409,7 +409,7 @@
                         (float) data[1][i], StickyAxisAnnotation.SimpleAxis.Y_AXIS));
             }
 
-            doAnnotations(new FLYSAnnotation(facet.getDescription(), xy),
+            doAnnotations(new RiverAnnotation(facet.getDescription(), xy),
                     aandf, theme, visible);
         }
         else {
@@ -425,7 +425,7 @@
             xy.add(new StickyAxisAnnotation(aandf.getFacetDescription(),
                     (float) w, StickyAxisAnnotation.SimpleAxis.Y_AXIS));
 
-            doAnnotations(new FLYSAnnotation(facet.getDescription(), xy),
+            doAnnotations(new RiverAnnotation(facet.getDescription(), xy),
                     aandf, theme, visible);
         }
     }
@@ -524,8 +524,8 @@
 
         addAxisSeries(series, 0, visible);
         if (visible && ThemeUtil.parseShowPointLabel(theme)) {
-            FLYSAnnotation flysAnno =
-                    new FLYSAnnotation(null, null, null, theme);
+            RiverAnnotation flysAnno =
+                    new RiverAnnotation(null, null, null, theme);
             flysAnno.setTextAnnotations(textAnnos);
             addAnnotations(flysAnno);
         }

http://dive4elements.wald.intevation.org