comparison gnv-artifacts/src/main/java/de/intevation/gnv/chart/ChartLabels.java @ 657:af3f56758f59

merged gnv-artifacts/0.5
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:13:53 +0200
parents 79e80c289018
children 79401c871da4
comparison
equal deleted inserted replaced
590:5f5f273c8566 657:af3f56758f59
1 /* Copyright (C) 2007 con terra GmbH (http://www.conterra.de)
2 * All rights reserved
3 *
4 * $Id: ChartLabels.java,v 1.1 2007/12/10 13:57:13 drewnak Exp $
5 *
6 * created by: drewnak
7 * created at : 10.12.2007
8 * created at : 11:48:39
9 *
10 * modified by: $Author: drewnak $
11 * modified at: $Date: 2007/12/10 13:57:13 $
12 */
13 package de.intevation.gnv.chart;
14
15 /**
16 * @author drewnak
17 * @author Tim Englich <tim.englich@intevation.de> Changes and codecleanup
18 * @author Ingo Weinzierl <ingo.weinzierl@intevation.de>
19 */
20 public class ChartLabels {
21 /**
22 *
23 */
24 private String title;
25
26 /**
27 *
28 */
29 private String subtitle;
30
31 /**
32 *
33 */
34 private String domainAxisLabel;
35
36 /**
37 *
38 */
39 private String rangeAxisLabel;
40
41 /**
42 *
43 */
44 private String parameterName;
45
46
47 /**
48 * Constructor
49 *
50 * @param title
51 * @param domainAxisLabel
52 */
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 ) {
74 this.title = title;
75 this.subtitle = subtitle;
76 this.domainAxisLabel = domainAxisLabel;
77 this.rangeAxisLabel = rangeAxisLabel;
78 this.parameterName = parameterName;
79 }
80
81 /**
82 * @return the title
83 */
84 public String getTitle() {
85 return this.title;
86 }
87
88
89 /**
90 * @return the subtitle
91 */
92 public String getSubtitle() {
93 return subtitle;
94 }
95
96 /**
97 * @return the timeAxisLabel
98 */
99 public String getDomainAxisLabel() {
100 return this.domainAxisLabel;
101 }
102
103
104 public String getRangeAxisLabel() {
105 return this.rangeAxisLabel;
106 }
107
108
109 public String getParameterName() {
110 return this.parameterName;
111 }
112 }
113 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org