comparison 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
comparison
equal deleted inserted replaced
6907:dbad1f442f3e 6908:819481cc9195
86 return renderer; 86 return renderer;
87 } 87 }
88 88
89 89
90 protected void applyFillColor(StableXYDifferenceRenderer renderer) { 90 protected void applyFillColor(StableXYDifferenceRenderer renderer) {
91 Color paint = ThemeDocument.parseColor( 91 Color paint = theme.parseAreaBackgroundColor();
92 theme.getAreaBackgroundColorString());
93 92
94 int transparency = theme.parseAreaTransparency(); 93 int transparency = theme.parseAreaTransparency();
95 if (transparency > 0 && paint != null) { 94 if (transparency > 0 && paint != null) {
96 paint = new Color( 95 paint = new Color(
97 paint.getRed(), 96 paint.getRed(),

http://dive4elements.wald.intevation.org