comparison artifacts/src/main/java/org/dive4elements/river/exports/LongitudinalSectionGenerator.java @ 7063:a1ff1b7e2dee longitudinal-symmetry

Close branch longitudinal-symmetry. Diagram refactoring is now done in branch generator-refactoring.
author Tom Gottfried <tom.gottfried@intevation.de>
date Fri, 20 Sep 2013 13:11:22 +0200
parents 7089f338138a
children
comparison
equal deleted inserted replaced
6799:372c255714df 7063:a1ff1b7e2dee
53 */ 53 */
54 public class LongitudinalSectionGenerator 54 public class LongitudinalSectionGenerator
55 extends XYChartGenerator 55 extends XYChartGenerator
56 implements FacetTypes 56 implements FacetTypes
57 { 57 {
58 public enum YAXIS { 58 // public enum YAXIS {
59 W(0), // waterlevel 59 // W(0), // waterlevel
60 D(1), // waterlevel-difference 60 // D(1), // waterlevel-difference
61 Q(2), // discharge 61 // Q(2), // discharge
62 V(3), // flow velocity 62 // V(3), // flow velocity
63 T(4), // tau (shear stress) 63 // T(4), // tau (shear stress)
64 O(3); // diameter 64 // O(3); // diameter
65 protected int idx; 65 // protected int idx;
66 private YAXIS(int c) { 66 // private YAXIS(int c) {
67 idx = c; 67 // idx = c;
68 } 68 // }
69 } 69 // }
70 70
71 /** The logger that is used in this generator. */ 71 /** The logger that is used in this generator. */
72 private static Logger logger = 72 private static Logger logger =
73 Logger.getLogger(LongitudinalSectionGenerator.class); 73 Logger.getLogger(LongitudinalSectionGenerator.class);
74 74
81 * titles. 81 * titles.
82 */ 82 */
83 /** TODO: 83 /** TODO:
84 * create a class which extends this one to avoid following definition here 84 * create a class which extends this one to avoid following definition here
85 */ 85 */
86 public static final String I18N_CHART_TITLE = 86 // public static final String I18N_CHART_TITLE =
87 "chart.longitudinal.section.title"; 87 // "chart.longitudinal.section.title";
88 public static final String I18N_CHART_TITLE_DEFAULT = 88 public static final String I18N_CHART_TITLE_DEFAULT =
89 "L\u00e4ngsschnitt"; 89 "L\u00e4ngsschnitt";
90 90
91 /** 91 /**
92 * Key to look up internationalized String for LongitudinalSection diagrams 92 * Key to look up internationalized String for LongitudinalSection diagrams

http://dive4elements.wald.intevation.org