diff flys-artifacts/src/main/java/de/intevation/flys/exports/StyledXYSeries.java @ 1814:a9b690d864a7

Cosmetics, doc. flys-artifacts/trunk@3143 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 02 Nov 2011 12:16:32 +0000
parents 8e6615ad60b8
children 6c24ffe946a5
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/StyledXYSeries.java	Wed Nov 02 12:15:58 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/StyledXYSeries.java	Wed Nov 02 12:16:32 2011 +0000
@@ -13,12 +13,14 @@
 
 import de.intevation.flys.utils.ThemeUtil;
 
-
+/**
+ * Dataset in two dimensions with additional theme-document.
+ * The theme-document will later "style" the graphical representation.
+ */
 public class StyledXYSeries extends XYSeries {
 
     protected Document theme;
 
-
     private static final Logger logger = Logger.getLogger(StyledXYSeries.class);
 
 
@@ -26,6 +28,12 @@
         this(key, true, theme);
     }
 
+
+    /**
+     * @param sorted whether or not to sort the points. Sorting will move NANs
+     *               to one extrema which can cause problems in certain
+     *               algorithms.
+     */
     public StyledXYSeries(String key, boolean sorted, Document theme) {
         super(key, sorted);
         this.theme = theme;

http://dive4elements.wald.intevation.org