Mercurial > dive4elements > river
changeset 4147:db0b9cff8496
Cosmetics, documentation.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 16 Oct 2012 11:33:23 +0200 |
parents | 58864f4f6e3b |
children | 1ba0927855b4 |
files | flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java flys-client/src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java |
diffstat | 3 files changed, 12 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java Tue Oct 16 11:15:12 2012 +0200 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java Tue Oct 16 11:33:23 2012 +0200 @@ -113,6 +113,7 @@ facets = new HashMap<String, List<Facet>>(); } + /** * This method appends the static data - that has already been inserted by * the user - to the static node of the DESCRIBE document. @@ -258,6 +259,7 @@ return copy; } + /** * Return a copy of the facet mapping. * @return Mapping of state-ids to facets. @@ -411,6 +413,7 @@ return doc; } + /** * This method returns a description of this artifact. *
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java Tue Oct 16 11:15:12 2012 +0200 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java Tue Oct 16 11:33:23 2012 +0200 @@ -55,6 +55,7 @@ extends FixChartGenerator implements FacetTypes { + /** Private logger. */ private static Logger logger = Logger.getLogger(FixWQCurveGenerator.class); @@ -92,6 +93,7 @@ } + /** Needed to access data to create subtitle. */ private FLYSArtifact artifact; @@ -365,13 +367,13 @@ Double ckm = (Double) context.getContextValue(CURRENT_KM); double location = (ckm != null) ? ckm.doubleValue() - : getRange()[0]; - double w = StaticWKmsArtifact.getWAtKmLin(data, location); - xy.add(new StickyAxisAnnotation(aandf.getFacetDescription(), - (float) w, StickyAxisAnnotation.SimpleAxis.Y_AXIS)); + : getRange()[0]; + double w = StaticWKmsArtifact.getWAtKmLin(data, location); + xy.add(new StickyAxisAnnotation(aandf.getFacetDescription(), + (float) w, StickyAxisAnnotation.SimpleAxis.Y_AXIS)); - doAnnotations(new FLYSAnnotation(facet.getDescription(), xy), - aandf, theme, visible); + doAnnotations(new FLYSAnnotation(facet.getDescription(), xy), + aandf, theme, visible); } }
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java Tue Oct 16 11:15:12 2012 +0200 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java Tue Oct 16 11:33:23 2012 +0200 @@ -8,6 +8,7 @@ */ public class FacetRecord extends ListGridRecord { + /** Underlying theme. */ protected Theme theme;