comparison artifacts/src/main/java/org/dive4elements/river/exports/ComputedDischargeCurveGenerator.java @ 6447:dad4f0424783

Add doc and override-annotation.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 26 Jun 2013 16:46:43 +0200
parents 49760b45d4df
children f11165468f0a
comparison
equal deleted inserted replaced
6446:49760b45d4df 6447:dad4f0424783
102 return msg(I18N_YAXIS_LABEL, I18N_YAXIS_LABEL_DEFAULT, new Object[] { unit }); 102 return msg(I18N_YAXIS_LABEL, I18N_YAXIS_LABEL_DEFAULT, new Object[] { unit });
103 } 103 }
104 104
105 105
106 /** 106 /**
107 * Create Y (range) axis for given index. 107 * Create Y (range) axis for given index, here with a special axis
108 * Shall be overriden by subclasses. 108 * that depends on other axis (does translation and scaling for
109 */ 109 * special case at gauge in cm).
110 */
111 @Override
110 protected NumberAxis createYAxis(int index) { 112 protected NumberAxis createYAxis(int index) {
111 if (index == 0) { 113 if (index == 0) {
112 firstYAxis = super.createYAxis(0); 114 firstYAxis = super.createYAxis(0);
113 return firstYAxis; 115 return firstYAxis;
114 } 116 }

http://dive4elements.wald.intevation.org