Mercurial > dive4elements > river
changeset 4277:18c66e586e44
Doc and whitespace cosmetics.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 26 Oct 2012 16:42:27 +0200 |
parents | 0aa42c9d58e9 |
children | efc731efa4a3 |
files | flys-artifacts/src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java |
diffstat | 1 files changed, 8 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java Fri Oct 26 16:41:36 2012 +0200 +++ b/flys-artifacts/src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java Fri Oct 26 16:42:27 2012 +0200 @@ -9,7 +9,8 @@ import org.w3c.dom.Document; /** - * List of Text- Annotations with name and theme. + * List of Text- Annotations (Sticky to one axis or in space) + * and 'HYK'-Annotations (rectangles/areas) with name and theme. */ public class FLYSAnnotation { @@ -46,13 +47,13 @@ public FLYSAnnotation(String label, List<StickyAxisAnnotation> annotations, List<HYKFactory.Zone> bAnnotations, Document theme ) { - this.label = label; + this.label = label; this.axisTextAnnotations = (annotations != null) - ? annotations - : Collections.<StickyAxisAnnotation>emptyList(); - this.boxes = (bAnnotations != null) - ? bAnnotations - : Collections.<HYKFactory.Zone>emptyList(); + ? annotations + : Collections.<StickyAxisAnnotation>emptyList(); + this.boxes = (bAnnotations != null) + ? bAnnotations + : Collections.<HYKFactory.Zone>emptyList(); this.textAnnotations = Collections.<XYTextAnnotation>emptyList(); this.setTheme(theme); }