Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/jfree/StyledXYSeries.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | d4c501d2c098 |
children | 28df64078f27 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
47 public StyledXYSeries(String key, ThemeDocument theme) { | 47 public StyledXYSeries(String key, ThemeDocument theme) { |
48 this(key, true, theme, (Shape)null); | 48 this(key, true, theme, (Shape)null); |
49 } | 49 } |
50 | 50 |
51 | 51 |
52 public StyledXYSeries(String key, ThemeDocument theme, XYSeries unstyledSeries) { | 52 public StyledXYSeries( |
53 String key, | |
54 ThemeDocument theme, | |
55 XYSeries unstyledSeries | |
56 ) { | |
53 this(key, theme); | 57 this(key, theme); |
54 add(unstyledSeries); | 58 add(unstyledSeries); |
55 } | 59 } |
56 | 60 |
57 public StyledXYSeries(String key, boolean sorted, ThemeDocument theme) { | 61 public StyledXYSeries(String key, boolean sorted, ThemeDocument theme) { |
66 /** | 70 /** |
67 * @param sorted whether or not to sort the points. Sorting will move NANs | 71 * @param sorted whether or not to sort the points. Sorting will move NANs |
68 * to one extrema which can cause problems in certain | 72 * to one extrema which can cause problems in certain |
69 * algorithms. | 73 * algorithms. |
70 */ | 74 */ |
71 public StyledXYSeries(String key, boolean sorted, ThemeDocument theme, Shape shape) { | 75 public StyledXYSeries( |
76 String key, | |
77 boolean sorted, | |
78 ThemeDocument theme, | |
79 Shape shape | |
80 ) { | |
72 super(key, sorted); | 81 super(key, sorted); |
73 setStyle(new XYStyle(theme, shape)); | 82 setStyle(new XYStyle(theme, shape)); |
74 this.label = key.toString(); | 83 this.label = key.toString(); |
75 } | 84 } |
76 | 85 |