diff flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java @ 3280:4a70525c5b0d

Removed trailing whitespace. flys-artifacts/trunk@4933 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 11 Jul 2012 11:25:42 +0000
parents c27c4e06dd87
children 97ad960f5579
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java	Wed Jul 11 10:53:38 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java	Wed Jul 11 11:25:42 2012 +0000
@@ -158,11 +158,11 @@
             return new Color(255, 0, 0);
         }
     }
-    
+
     @Override
     protected void addAnnotationsToRenderer(XYPlot plot) {
         super.addAnnotationsToRenderer(plot);
-        
+
         // Paints for the boxes/lines.
         Stroke basicStroke = new BasicStroke(1.0f);
 
@@ -174,14 +174,14 @@
         ChartArea area = new ChartArea(
             plot.getDomainAxis(0).getRange(),
             plot.getRangeAxis().getRange());
-        
+
         for(FLYSAnnotation fa : this.annotations) {
-            
+
             // Access text styling, if any.
             Document theme = fa.getTheme();
             ThemeAccess.TextStyle textStyle = null;
             ThemeAccess.LineStyle lineStyle = null;
-            
+
             // Get Themeing information and add legend item.
             if (theme != null) {
                 ThemeAccess themeAccess = new ThemeAccess(theme);
@@ -201,25 +201,25 @@
                     plot.setFixedLegendItems(old);
                 }
             }
-            
+
             // Hyks.
             for (HYKFactory.Zone zone: fa.getBoxes()) {
                 // For each zone, create a box to fill with color, a box to draw
                 // the lines and a text to display the type.
                 fillPaint = colorForHYKZone(zone.getName());
-    
+
                 XYBoxAnnotation boxA = new XYBoxAnnotation(zone.getFrom(), area.atGround(),
                     zone.getTo(), area.ofGround(0.03f), basicStroke, tranPaint, fillPaint);
                 XYBoxAnnotation boxB = new XYBoxAnnotation(zone.getFrom(), area.atGround(),
                     zone.getTo(), area.atTop(), basicStroke, fillPaint, tranPaint);
-    
+
                 XYTextAnnotation tex = new XYTextAnnotation(zone.getName(),
                     zone.getFrom() + (zone.getTo() - zone.getFrom()) / 1.0d,
                     area.ofGround(0.015f));
                 if (textStyle != null) {
                     textStyle.apply(tex);
                 }
-    
+
                 plot.getRenderer().addAnnotation(boxA, org.jfree.ui.Layer.BACKGROUND);
                 plot.getRenderer().addAnnotation(boxB, org.jfree.ui.Layer.BACKGROUND);
                 plot.getRenderer().addAnnotation(tex,  org.jfree.ui.Layer.BACKGROUND);

http://dive4elements.wald.intevation.org