Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java @ 3814:8083f6384023
merged flys-artifacts/pre2.6-2012-01-04
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:56 +0200 |
parents | eb35570df0e8 |
children | 59bb5c895be3 |
comparison
equal
deleted
inserted
replaced
1491:2a00f4849738 | 3814:8083f6384023 |
---|---|
1 package de.intevation.flys.jfree; | |
2 | |
3 import java.util.List; | |
4 | |
5 import org.w3c.dom.Document; | |
6 | |
7 import org.jfree.chart.annotations.XYTextAnnotation; | |
8 | |
9 /** | |
10 * List of Annotations with name and theme. | |
11 */ | |
12 public class FLYSAnnotation { | |
13 | |
14 protected List<XYTextAnnotation> annotations; | |
15 | |
16 protected Document theme; | |
17 | |
18 protected String label; | |
19 | |
20 | |
21 public FLYSAnnotation(String label, List<XYTextAnnotation> annotations) { | |
22 this.label = label; | |
23 this.annotations = annotations; | |
24 } | |
25 | |
26 public void setLabel(String label) { | |
27 this.label = label; | |
28 } | |
29 | |
30 public String getLabel() { | |
31 return label; | |
32 } | |
33 | |
34 public List<XYTextAnnotation> getAnnotations() { | |
35 return annotations; | |
36 } | |
37 | |
38 public void setTheme(Document theme) { | |
39 this.theme = theme; | |
40 } | |
41 | |
42 public Document getTheme() { | |
43 return theme; | |
44 } | |
45 } | |
46 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |