comparison flys-artifacts/src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java @ 2183:a79d5cd26083

Render labels of manual points in a very primitive manner. flys-artifacts/trunk@3787 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 27 Jan 2012 11:01:13 +0000
parents c68f4f227c09
children 1ddfb54e5db6
comparison
equal deleted inserted replaced
2182:5ff481ab24a1 2183:a79d5cd26083
15 /** 15 /**
16 * List of Text- Annotations with name and theme. 16 * List of Text- Annotations with name and theme.
17 */ 17 */
18 public class FLYSAnnotation { 18 public class FLYSAnnotation {
19 19
20 // TODO this will likely be used, soon. 20 /* 'Other' Text Annotations. */
21 protected List<XYTextAnnotation> textAnnotations; 21 protected List<XYTextAnnotation> textAnnotations;
22 22
23 /** Annotations at axis. */
23 protected List<StickyAxisAnnotation> axisTextAnnotations; 24 protected List<StickyAxisAnnotation> axisTextAnnotations;
24 25
26 /** Areas at axis. */
25 protected List<HYKFactory.Zone> boxes; 27 protected List<HYKFactory.Zone> boxes;
26 28
29 /** Styling information. */
27 protected Document theme; 30 protected Document theme;
28 31
32 /** Chart-legend information. */
29 protected String label; 33 protected String label;
30 34
31 35
32 public FLYSAnnotation(String label, List<StickyAxisAnnotation> annotations) { 36 public FLYSAnnotation(String label, List<StickyAxisAnnotation> annotations) {
33 this(label, annotations, null, null); 37 this(label, annotations, null, null);
68 72
69 public List<StickyAxisAnnotation> getAxisTextAnnotations() { 73 public List<StickyAxisAnnotation> getAxisTextAnnotations() {
70 return axisTextAnnotations; 74 return axisTextAnnotations;
71 } 75 }
72 76
77 public void setTextAnnotations(List<XYTextAnnotation> annotations) {
78 this.textAnnotations = annotations;
79 }
80
81 /** Set the "other" Text Annotations. */
73 public List<XYTextAnnotation> getTextAnnotations() { 82 public List<XYTextAnnotation> getTextAnnotations() {
74 return textAnnotations; 83 return textAnnotations;
75 } 84 }
76 85
77 public List<HYKFactory.Zone> getBoxes() { 86 public List<HYKFactory.Zone> getBoxes() {

http://dive4elements.wald.intevation.org