comparison flys-artifacts/src/main/java/de/intevation/flys/themes/ThemeAccess.java @ 3286:f062b5a90e26

Add showpointlabel style attribute flys-artifacts/trunk@4948 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Christian Lins <christian.lins@intevation.de>
date Thu, 12 Jul 2012 11:51:32 +0000
parents ed07dd55f487
children 0b9b2a0c4e64
comparison
equal deleted inserted replaced
3285:dc083f61253a 3286:f062b5a90e26
1 package de.intevation.flys.themes; 1 package de.intevation.flys.themes;
2
3 import de.intevation.flys.jfree.StableXYDifferenceRenderer;
4 import de.intevation.flys.utils.ThemeUtil;
2 5
3 import java.awt.Color; 6 import java.awt.Color;
4 import java.awt.Font; 7 import java.awt.Font;
5 8
9 import org.jfree.chart.annotations.XYTextAnnotation;
6 import org.w3c.dom.Document; 10 import org.w3c.dom.Document;
7
8 import de.intevation.flys.jfree.StableXYDifferenceRenderer;
9 import de.intevation.flys.utils.ThemeUtil;
10
11 import org.jfree.chart.annotations.XYTextAnnotation;
12 11
13 12
14 /** Undocumented. */ 13 /** Undocumented. */
15 public class ThemeAccess 14 public class ThemeAccess
16 { 15 {
114 113
115 public LineStyle parseLineStyle() { 114 public LineStyle parseLineStyle() {
116 return new LineStyle(parseLineColorField(), Integer.valueOf(parseLineWidth())); 115 return new LineStyle(parseLineColorField(), Integer.valueOf(parseLineWidth()));
117 } 116 }
118 117
118 public static class PointStyle {
119 // TODO tbd
120 }
121
119 public static class LineStyle { 122 public static class LineStyle {
120 protected Color lineColor; 123 protected Color lineColor;
121 protected int lineWidth; 124 protected int lineWidth;
122 125
123 public LineStyle(Color color, int width) { 126 public LineStyle(Color color, int width) {

http://dive4elements.wald.intevation.org