Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java Fri Sep 28 12:14:56 2012 +0200 @@ -0,0 +1,46 @@ +package de.intevation.flys.jfree; + +import java.util.List; + +import org.w3c.dom.Document; + +import org.jfree.chart.annotations.XYTextAnnotation; + +/** + * List of Annotations with name and theme. + */ +public class FLYSAnnotation { + + protected List<XYTextAnnotation> annotations; + + protected Document theme; + + protected String label; + + + public FLYSAnnotation(String label, List<XYTextAnnotation> annotations) { + this.label = label; + this.annotations = annotations; + } + + public void setLabel(String label) { + this.label = label; + } + + public String getLabel() { + return label; + } + + public List<XYTextAnnotation> getAnnotations() { + return annotations; + } + + public void setTheme(Document theme) { + this.theme = theme; + } + + public Document getTheme() { + return theme; + } +} +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :