diff artifacts/src/main/java/org/dive4elements/river/jfree/StyledAreaSeriesCollection.java @ 6908:819481cc9195

Artifacts: ThemeDocument. The bloody part: Removal of the XPaths. Now the theme XML document is scanned once(!) at construction time for field values and the resulting key/value pairs are store in a map.
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 23 Aug 2013 11:07:11 +0200
parents 7a9cbb3a3d5a
children 988dde49ae65
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/jfree/StyledAreaSeriesCollection.java	Fri Aug 23 01:17:13 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/jfree/StyledAreaSeriesCollection.java	Fri Aug 23 11:07:11 2013 +0200
@@ -88,8 +88,7 @@
 
 
     protected void applyFillColor(StableXYDifferenceRenderer renderer) {
-        Color paint = ThemeDocument.parseColor(
-                theme.getAreaBackgroundColorString());
+        Color paint = theme.parseAreaBackgroundColor();
 
         int transparency = theme.parseAreaTransparency();
         if (transparency > 0 && paint != null) {

http://dive4elements.wald.intevation.org