Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/jfree/StyledValueMarker.java @ 3256:17ca0a43027a
Removed trailing whitespace
flys-artifacts/trunk@4890 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 07 Jul 2012 09:23:33 +0000 |
parents | 9a4707ec7800 |
children | 9422b559b2d5 |
comparison
equal
deleted
inserted
replaced
3255:4246851312e6 | 3256:17ca0a43027a |
---|---|
16 | 16 |
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.parsePointColor(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 |
28 int size = ThemeUtil.parsePointWidth(theme); | 28 int size = ThemeUtil.parsePointWidth(theme); |
29 setStroke(new BasicStroke(size)); | 29 setStroke(new BasicStroke(size)); |
30 } | 30 } |
31 | 31 |
32 } | 32 } |