Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/jfree/StyledValueMarker.java @ 4295:2a64d42a75e6
Merged
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 29 Oct 2012 11:21:56 +0100 |
parents | 7140bb0f92b0 |
children | 85876e3a5346 |
comparison
equal
deleted
inserted
replaced
4294:22f03e7b0ed1 | 4295:2a64d42a75e6 |
---|---|
17 private static final long serialVersionUID = -3607777705307785140L; | 17 private static final long serialVersionUID = -3607777705307785140L; |
18 | 18 |
19 public StyledValueMarker(double value, Document theme) { | 19 public StyledValueMarker(double value, Document theme) { |
20 super(value); | 20 super(value); |
21 | 21 |
22 Color color = ThemeUtil.parsePointColor(theme); | 22 Color color = ThemeUtil.parseLineColorField(theme); |
23 if(color == null) { | 23 if(color == null) { |
24 color = Color.BLACK; | 24 color = Color.BLACK; |
25 } | 25 } |
26 this.setPaint(color); | 26 this.setPaint(color); |
27 | 27 |