Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/jfree/StyledXYSeries.java @ 3160:8c78c707aa2d
Removed trailing whitespace.
flys-artifacts/trunk@4772 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 24 Jun 2012 17:49:07 +0000 |
parents | 74c974b10c75 |
children | 0f7abd95c6e2 |
comparison
equal
deleted
inserted
replaced
3159:a6a3f9894fe0 | 3160:8c78c707aa2d |
---|---|
27 | 27 |
28 public StyledXYSeries(String key, Document theme) { | 28 public StyledXYSeries(String key, Document theme) { |
29 this(key, true, theme); | 29 this(key, true, theme); |
30 this.label = key.toString(); | 30 this.label = key.toString(); |
31 } | 31 } |
32 | 32 |
33 | 33 |
34 public StyledXYSeries(String key, Document theme, XYSeries unstyledSeries) { | 34 public StyledXYSeries(String key, Document theme, XYSeries unstyledSeries) { |
35 this(key, theme); | 35 this(key, theme); |
36 add(unstyledSeries); | 36 add(unstyledSeries); |
37 } | 37 } |
38 | 38 |
68 | 68 |
69 @Override | 69 @Override |
70 public void setLabel(String label) { | 70 public void setLabel(String label) { |
71 this.label = label; | 71 this.label = label; |
72 } | 72 } |
73 | 73 |
74 protected void add(XYSeries series) { | 74 protected void add(XYSeries series) { |
75 List<XYDataItem> items = series.getItems(); | 75 List<XYDataItem> items = series.getItems(); |
76 add(items); | 76 add(items); |
77 } | 77 } |
78 | 78 |
79 protected void add(List<XYDataItem> items) { | 79 protected void add(List<XYDataItem> items) { |
80 for(XYDataItem item : items) { | 80 for(XYDataItem item : items) { |
81 add(item.getXValue(), item.getYValue()); | 81 add(item.getXValue(), item.getYValue()); |
82 } | 82 } |
83 } | 83 } |