Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedDifferenceEpochGenerator.java @ 6517:ef3b02034f6a
More consistent labeling for longitudinal section diagrams
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 28 Jun 2013 21:05:52 +0200 |
parents | 7bd173b0f54f |
children | 769d9ec8abac bdbe704dd433 |
comparison
equal
deleted
inserted
replaced
6512:c28f13c80979 | 6517:ef3b02034f6a |
---|---|
18 import org.dive4elements.river.artifacts.access.FlowVelocityAccess; | 18 import org.dive4elements.river.artifacts.access.FlowVelocityAccess; |
19 import org.dive4elements.river.artifacts.model.FacetTypes; | 19 import org.dive4elements.river.artifacts.model.FacetTypes; |
20 import org.dive4elements.river.artifacts.model.WKms; | 20 import org.dive4elements.river.artifacts.model.WKms; |
21 import org.dive4elements.river.artifacts.model.minfo.BedDiffEpochResult; | 21 import org.dive4elements.river.artifacts.model.minfo.BedDiffEpochResult; |
22 import org.dive4elements.river.exports.StyledSeriesBuilder; | 22 import org.dive4elements.river.exports.StyledSeriesBuilder; |
23 import org.dive4elements.river.exports.fixings.FixChartGenerator; | 23 import org.dive4elements.river.exports.LongitudinalSectionGenerator; |
24 import org.dive4elements.river.exports.process.KMIndexProcessor; | 24 import org.dive4elements.river.exports.process.KMIndexProcessor; |
25 import org.dive4elements.river.exports.process.Processor; | 25 import org.dive4elements.river.exports.process.Processor; |
26 import org.dive4elements.river.exports.process.WOutProcessor; | 26 import org.dive4elements.river.exports.process.WOutProcessor; |
27 import org.dive4elements.river.jfree.Bounds; | 27 import org.dive4elements.river.jfree.Bounds; |
28 import org.dive4elements.river.jfree.DoubleBounds; | 28 import org.dive4elements.river.jfree.DoubleBounds; |
31 import org.dive4elements.river.utils.DataUtil; | 31 import org.dive4elements.river.utils.DataUtil; |
32 import org.dive4elements.river.utils.RiverUtils; | 32 import org.dive4elements.river.utils.RiverUtils; |
33 | 33 |
34 | 34 |
35 public class BedDifferenceEpochGenerator | 35 public class BedDifferenceEpochGenerator |
36 extends FixChartGenerator | 36 extends LongitudinalSectionGenerator |
37 implements FacetTypes | 37 implements FacetTypes |
38 { | 38 { |
39 public enum YAXIS { | 39 public enum YAXIS { |
40 D(0), H(1), dW(2), W(3); | 40 D(0), H(1), dW(2), W(3); |
41 | 41 |
48 | 48 |
49 /** The logger that is used in this generator. */ | 49 /** The logger that is used in this generator. */ |
50 private static Logger logger = Logger.getLogger(BedQualityGenerator.class); | 50 private static Logger logger = Logger.getLogger(BedQualityGenerator.class); |
51 | 51 |
52 public static final String I18N_CHART_TITLE = "chart.beddifference.epoch.title"; | 52 public static final String I18N_CHART_TITLE = "chart.beddifference.epoch.title"; |
53 public static final String I18N_XAXIS_LABEL = "chart.beddifference.xaxis.label"; | |
54 public static final String I18N_YAXIS_LABEL = "chart.beddifference.yaxis.label.diff"; | 53 public static final String I18N_YAXIS_LABEL = "chart.beddifference.yaxis.label.diff"; |
55 public static final String I18N_SECOND_YAXIS_LABEL = "chart.beddifference.yaxis.label.height"; | 54 public static final String I18N_SECOND_YAXIS_LABEL = "chart.beddifference.yaxis.label.height"; |
56 | 55 |
57 public static final String I18N_CHART_TITLE_DEFAULT = "Sohlenhöhen Differenz"; | 56 public static final String I18N_CHART_TITLE_DEFAULT = "Sohlenhöhen Differenz"; |
58 public static final String I18N_XAXIS_LABEL_DEFAULT = "Fluss-Km"; | |
59 public static final String I18N_YAXIS_LABEL_DEFAULT = "delta S [m]"; | 57 public static final String I18N_YAXIS_LABEL_DEFAULT = "delta S [m]"; |
60 public static final String I18N_SECOND_YAXIS_LABEL_DEFAULT = "Höhe [m]"; | 58 public static final String I18N_SECOND_YAXIS_LABEL_DEFAULT = "Höhe [m]"; |
61 public static final String I18N_DW_YAXIS_LABEL_DEFAULT = | 59 public static final String I18N_DW_YAXIS_LABEL_DEFAULT = |
62 "delta W [cm]"; | 60 "delta W [cm]"; |
63 public static final String I18N_DW_YAXIS_LABEL = | 61 public static final String I18N_DW_YAXIS_LABEL = |