Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/chart/ChartLabels.java @ 492:79e80c289018
Added labels and titles to 'Profilschnitt' charts.
gnv-artifacts/trunk@569 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 19 Jan 2010 10:06:03 +0000 |
parents | 1c427acb6c76 |
children | 79401c871da4 |
comparison
equal
deleted
inserted
replaced
491:cbb6b592bc6f | 492:79e80c289018 |
---|---|
13 package de.intevation.gnv.chart; | 13 package de.intevation.gnv.chart; |
14 | 14 |
15 /** | 15 /** |
16 * @author drewnak | 16 * @author drewnak |
17 * @author Tim Englich <tim.englich@intevation.de> Changes and codecleanup | 17 * @author Tim Englich <tim.englich@intevation.de> Changes and codecleanup |
18 * @author Ingo Weinzierl <ingo.weinzierl@intevation.de> | |
18 */ | 19 */ |
19 public class ChartLabels { | 20 public class ChartLabels { |
20 /** | 21 /** |
21 * | 22 * |
22 */ | 23 */ |
31 * | 32 * |
32 */ | 33 */ |
33 private String domainAxisLabel; | 34 private String domainAxisLabel; |
34 | 35 |
35 /** | 36 /** |
37 * | |
38 */ | |
39 private String rangeAxisLabel; | |
40 | |
41 /** | |
42 * | |
43 */ | |
44 private String parameterName; | |
45 | |
46 | |
47 /** | |
36 * Constructor | 48 * Constructor |
37 * | 49 * |
38 * @param title | 50 * @param title |
39 * @param domainAxisLabel | 51 * @param domainAxisLabel |
40 */ | 52 */ |
41 public ChartLabels(String title, String subtitle, String domainAxisLabel) { | 53 public ChartLabels(String title, String subtitle, String domainAxisLabel) { |
54 this(title, subtitle, domainAxisLabel, null); | |
55 } | |
56 | |
57 public ChartLabels( | |
58 String title, | |
59 String subtitle, | |
60 String domainAxisLabel, | |
61 String rangeAxisLabel | |
62 ) { | |
63 this(title, subtitle, domainAxisLabel, rangeAxisLabel, null); | |
64 } | |
65 | |
66 | |
67 public ChartLabels( | |
68 String title, | |
69 String subtitle, | |
70 String domainAxisLabel, | |
71 String rangeAxisLabel, | |
72 String parameterName | |
73 ) { | |
42 this.title = title; | 74 this.title = title; |
43 this.subtitle = subtitle; | 75 this.subtitle = subtitle; |
44 this.domainAxisLabel = domainAxisLabel; | 76 this.domainAxisLabel = domainAxisLabel; |
77 this.rangeAxisLabel = rangeAxisLabel; | |
78 this.parameterName = parameterName; | |
45 } | 79 } |
46 | 80 |
47 /** | 81 /** |
48 * @return the title | 82 * @return the title |
49 */ | 83 */ |
63 * @return the timeAxisLabel | 97 * @return the timeAxisLabel |
64 */ | 98 */ |
65 public String getDomainAxisLabel() { | 99 public String getDomainAxisLabel() { |
66 return this.domainAxisLabel; | 100 return this.domainAxisLabel; |
67 } | 101 } |
102 | |
103 | |
104 public String getRangeAxisLabel() { | |
105 return this.rangeAxisLabel; | |
106 } | |
107 | |
108 | |
109 public String getParameterName() { | |
110 return this.parameterName; | |
111 } | |
68 } | 112 } |
113 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |