Mercurial > dive4elements > river
view flys-artifacts/src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java @ 2046:2ae0627f956e
Improved ChartSettings and depending classes to avoid a lot of casting.
flys-artifacts/trunk@3534 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 23 Dec 2011 08:51:28 +0000 |
parents | eb35570df0e8 |
children | 59bb5c895be3 |
line wrap: on
line source
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 :