diff artifacts/src/main/java/org/dive4elements/river/jfree/JFreeUtil.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 af13ceeba52a
children e4606eae8ea5
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/jfree/JFreeUtil.java	Thu Aug 22 15:38:57 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/jfree/JFreeUtil.java	Thu Aug 22 23:31:38 2013 +0200
@@ -16,9 +16,9 @@
 import org.apache.log4j.Logger;
 import org.jfree.chart.entity.ChartEntity;
 import org.jfree.chart.entity.EntityCollection;
-import org.w3c.dom.Document;
 
 import org.dive4elements.river.artifacts.math.Function;
+import org.dive4elements.river.themes.ThemeDocument;
 
 public class JFreeUtil {
 
@@ -107,7 +107,7 @@
 
     public static StyledXYSeries sampleFunction2D(
         Function func,
-        Document theme,
+        ThemeDocument theme,
         String   seriesKey,
         int      samples,
         double   start,
@@ -127,7 +127,7 @@
 
     public static StyledXYSeries sampleFunction2DPositive(
         Function func,
-        Document theme,
+        ThemeDocument theme,
         String   seriesKey,
         int      samples,
         double   start,

http://dive4elements.wald.intevation.org