comparison gnv-artifacts/src/main/java/de/intevation/gnv/chart/ChartLabels.java @ 86:5d4f5d26bb7a

Some Codecleanup done gnv-artifacts/trunk@123 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Thu, 24 Sep 2009 09:39:27 +0000
parents 8b75d01fa5b5
children 7fb9441dd8af
comparison
equal deleted inserted replaced
85:dbd141c6bb97 86:5d4f5d26bb7a
12 */ 12 */
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>
18 * Changes and codecleanup
17 */ 19 */
18 public class ChartLabels { 20 public class ChartLabels {
19 /** 21 /**
20 * 22 *
21 */ 23 */
22 private String mTitle; 24 private String title;
23 /** 25 /**
24 * 26 *
25 */ 27 */
26 private String mTimeAxisLabel; 28 private String domainAxisLabel;
29
27 /** 30 /**
28 * 31 * Constructor
32 * @param title
33 * @param domainAxisLabel
29 */ 34 */
30 private String mValueAxisLabel; 35 public ChartLabels(String title, String domainAxisLabel) {
31 /** 36 this.title = title;
32 * 37 this.domainAxisLabel = domainAxisLabel;
33 */
34 public ChartLabels(String pTitle, String pTimeAxisLabel, String pValueAxisLabel) {
35 mTitle = pTitle;
36 mTimeAxisLabel = pTimeAxisLabel;
37 mValueAxisLabel = pValueAxisLabel;
38 } 38 }
39 39
40 /** 40 /**
41 * @return the title 41 * @return the title
42 */ 42 */
43 public String getTitle() { 43 public String getTitle() {
44 return mTitle; 44 return this.title;
45 } 45 }
46 46
47 /**
48 * @param pTitle the title to set
49 */
50 public void setTitle(String pTitle) {
51 mTitle = pTitle;
52 }
53 47
54 /** 48 /**
55 * @return the timeAxisLabel 49 * @return the timeAxisLabel
56 */ 50 */
57 public String getTimeAxisLabel() { 51 public String getDomainAxisLabel() {
58 return mTimeAxisLabel; 52 return this.domainAxisLabel;
59 } 53 }
60
61 /**
62 * @param pTimeAxisLabel the timeAxisLabel to set
63 */
64 public void setTimeAxisLabel(String pTimeAxisLabel) {
65 mTimeAxisLabel = pTimeAxisLabel;
66 }
67
68 /**
69 * @return the valueAxisLabel
70 */
71 public String getValueAxisLabel() {
72 return mValueAxisLabel;
73 }
74
75 /**
76 * @param pValueAxisLabel the valueAxisLabel to set
77 */
78 public void setValueAxisLabel(String pValueAxisLabel) {
79 mValueAxisLabel = pValueAxisLabel;
80 }
81
82 } 54 }

http://dive4elements.wald.intevation.org