Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/chart/ChartLabels.java @ 331:1c427acb6c76
Added subtitles to charts.
gnv-artifacts/trunk@397 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 04 Dec 2009 15:30:20 +0000 |
parents | 7fb9441dd8af |
children | 79e80c289018 |
comparison
equal
deleted
inserted
replaced
330:477c0c46605e | 331:1c427acb6c76 |
---|---|
19 public class ChartLabels { | 19 public class ChartLabels { |
20 /** | 20 /** |
21 * | 21 * |
22 */ | 22 */ |
23 private String title; | 23 private String title; |
24 | |
25 /** | |
26 * | |
27 */ | |
28 private String subtitle; | |
29 | |
24 /** | 30 /** |
25 * | 31 * |
26 */ | 32 */ |
27 private String domainAxisLabel; | 33 private String domainAxisLabel; |
28 | 34 |
30 * Constructor | 36 * Constructor |
31 * | 37 * |
32 * @param title | 38 * @param title |
33 * @param domainAxisLabel | 39 * @param domainAxisLabel |
34 */ | 40 */ |
35 public ChartLabels(String title, String domainAxisLabel) { | 41 public ChartLabels(String title, String subtitle, String domainAxisLabel) { |
36 this.title = title; | 42 this.title = title; |
43 this.subtitle = subtitle; | |
37 this.domainAxisLabel = domainAxisLabel; | 44 this.domainAxisLabel = domainAxisLabel; |
38 } | 45 } |
39 | 46 |
40 /** | 47 /** |
41 * @return the title | 48 * @return the title |
42 */ | 49 */ |
43 public String getTitle() { | 50 public String getTitle() { |
44 return this.title; | 51 return this.title; |
45 } | 52 } |
46 | 53 |
54 | |
55 /** | |
56 * @return the subtitle | |
57 */ | |
58 public String getSubtitle() { | |
59 return subtitle; | |
60 } | |
61 | |
47 /** | 62 /** |
48 * @return the timeAxisLabel | 63 * @return the timeAxisLabel |
49 */ | 64 */ |
50 public String getDomainAxisLabel() { | 65 public String getDomainAxisLabel() { |
51 return this.domainAxisLabel; | 66 return this.domainAxisLabel; |