Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/jfree/StyledTimeSeries.java @ 2424:092e519ff461
merged flys-artifacts/2.6.1
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:26 +0200 |
parents | 991e4a5df323 |
children |
comparison
equal
deleted
inserted
replaced
2392:8112ec686a9a | 2424:092e519ff461 |
---|---|
1 package de.intevation.flys.jfree; | |
2 | |
3 import org.apache.log4j.Logger; | |
4 | |
5 import org.w3c.dom.Document; | |
6 | |
7 import org.jfree.data.time.TimeSeries; | |
8 | |
9 | |
10 /** | |
11 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
12 */ | |
13 public class StyledTimeSeries extends TimeSeries implements StyledSeries { | |
14 | |
15 private static final Logger logger = | |
16 Logger.getLogger(StyledTimeSeries.class); | |
17 | |
18 | |
19 protected Style style; | |
20 | |
21 | |
22 public StyledTimeSeries(String key, Document theme) { | |
23 super(key); | |
24 setStyle(new XYStyle(theme)); | |
25 } | |
26 | |
27 | |
28 @Override | |
29 public void setStyle(Style style) { | |
30 this.style = style; | |
31 } | |
32 | |
33 | |
34 @Override | |
35 public Style getStyle() { | |
36 return style; | |
37 } | |
38 } | |
39 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |