Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/minfo/SedimentLoadLSGenerator.java @ 6682:252806ee7dd1
Doc.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 29 Jul 2013 09:25:04 +0200 |
parents | 95aecf6cc5ad |
children | dd5355775ce1 1b35b2ddfc28 |
comparison
equal
deleted
inserted
replaced
6681:e316a9c626e0 | 6682:252806ee7dd1 |
---|---|
34 import org.dive4elements.river.jfree.RiverAnnotation; | 34 import org.dive4elements.river.jfree.RiverAnnotation; |
35 import org.dive4elements.river.jfree.StyledXYSeries; | 35 import org.dive4elements.river.jfree.StyledXYSeries; |
36 import org.dive4elements.river.utils.DataUtil; | 36 import org.dive4elements.river.utils.DataUtil; |
37 | 37 |
38 | 38 |
39 /** Generator for Longitudinal Sections of SedimentLoad-Calculations. */ | |
39 public class SedimentLoadLSGenerator | 40 public class SedimentLoadLSGenerator |
40 extends XYChartGenerator | 41 extends XYChartGenerator |
41 implements FacetTypes | 42 implements FacetTypes |
42 { | 43 { |
44 /** Y-Axis enum defining the four possible axes. */ | |
43 public enum YAXIS { | 45 public enum YAXIS { |
44 L(0), | 46 L(0), |
45 D(1), | 47 D(1), |
46 DW(2), | 48 DW(2), |
47 V(3); | 49 V(3); |
71 public static final String I18N_YAXIS_LABEL_DEFAULT_1 = "[t/a]"; | 73 public static final String I18N_YAXIS_LABEL_DEFAULT_1 = "[t/a]"; |
72 public static final String I18N_YAXIS_LABEL_DEFAULT_2 = "[m\u00b3/a]"; | 74 public static final String I18N_YAXIS_LABEL_DEFAULT_2 = "[m\u00b3/a]"; |
73 public static final String I18N_YAXIS_D_LABEL_DEFAULT = "delta S [m]"; | 75 public static final String I18N_YAXIS_D_LABEL_DEFAULT = "delta S [m]"; |
74 public static final String I18N_YAXIS_V_LABEL_DEFAULT = "Geschwindigkeit v [m/s]"; | 76 public static final String I18N_YAXIS_V_LABEL_DEFAULT = "Geschwindigkeit v [m/s]"; |
75 | 77 |
78 /** Enumerator over y-axes. */ | |
76 @Override | 79 @Override |
77 protected YAxisWalker getYAxisWalker() { | 80 protected YAxisWalker getYAxisWalker() { |
78 return new YAxisWalker() { | 81 return new YAxisWalker() { |
79 | 82 |
80 @Override | 83 @Override |