comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontal/HorizontalProfileMeshCrossOutputState.java @ 856:c9996913ff4b

Adjusted the subtitle creation for charts in 'Horizontalen Schnittprofilen' (see issue138). gnv-artifacts/trunk@974 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 23 Apr 2010 12:26:31 +0000
parents 05bf8534a35a
children c07d9f9a738c
comparison
equal deleted inserted replaced
855:e26935963871 856:c9996913ff4b
52 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> 52 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a>
53 * @author <a href="mailto:iweinzierl@intevation.de">Ingo Weinzierl</a> 53 * @author <a href="mailto:iweinzierl@intevation.de">Ingo Weinzierl</a>
54 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> 54 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a>
55 */ 55 */
56 public class HorizontalProfileMeshCrossOutputState 56 public class HorizontalProfileMeshCrossOutputState
57 extends HorizontalProfileOutputState 57 extends HorizontalProfileMeshOutputState
58 { 58 {
59 59
60 public static final boolean USE_INDEX_BUFFER = 60 public static final boolean USE_INDEX_BUFFER =
61 Boolean.getBoolean("gnv.horizontal.profile.mesh.cross.index.buffer"); 61 Boolean.getBoolean("gnv.horizontal.profile.mesh.cross.index.buffer");
62 62
229 return result; 229 return result;
230 } 230 }
231 231
232 232
233 /** 233 /**
234 * The chart subtitle created by this method is build up of the timeperiod.
235 *
236 * @param locale The Locale used to adjust the language of the subtitle.
237 * @param uuid The UUID of the current artifact.
238 * @return a timeperiod as string.
239 */
240 @Override
241 protected String createChartSubtitle(Locale locale, String uuid) {
242 log.debug("create chart subtitle for horizontal crossprofile charts.");
243 String subtitle = createTimePeriod(locale, uuid);
244
245 return subtitle;
246 }
247
248
249 /**
250 * Prepares the input data for chart creation. 234 * Prepares the input data for chart creation.
251 * 235 *
252 * @param path The coordinates describing the path the data is processed 236 * @param path The coordinates describing the path the data is processed
253 * for. 237 * for.
254 * @param numSamples Number of samples. 238 * @param numSamples Number of samples.

http://dive4elements.wald.intevation.org