Mercurial > dive4elements > gnv-client
diff 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 |
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/chart/ChartLabels.java Wed Sep 23 14:32:55 2009 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/chart/ChartLabels.java Thu Sep 24 09:39:27 2009 +0000 @@ -14,69 +14,41 @@ /** * @author drewnak + * @author Tim Englich <tim.englich@intevation.de> + * Changes and codecleanup */ public class ChartLabels { /** * */ - private String mTitle; - /** - * - */ - private String mTimeAxisLabel; + private String title; /** * */ - private String mValueAxisLabel; + private String domainAxisLabel; + /** - * + * Constructor + * @param title + * @param domainAxisLabel */ - public ChartLabels(String pTitle, String pTimeAxisLabel, String pValueAxisLabel) { - mTitle = pTitle; - mTimeAxisLabel = pTimeAxisLabel; - mValueAxisLabel = pValueAxisLabel; + public ChartLabels(String title, String domainAxisLabel) { + this.title = title; + this.domainAxisLabel = domainAxisLabel; } /** * @return the title */ public String getTitle() { - return mTitle; + return this.title; } - /** - * @param pTitle the title to set - */ - public void setTitle(String pTitle) { - mTitle = pTitle; - } /** * @return the timeAxisLabel */ - public String getTimeAxisLabel() { - return mTimeAxisLabel; - } - - /** - * @param pTimeAxisLabel the timeAxisLabel to set - */ - public void setTimeAxisLabel(String pTimeAxisLabel) { - mTimeAxisLabel = pTimeAxisLabel; + public String getDomainAxisLabel() { + return this.domainAxisLabel; } - - /** - * @return the valueAxisLabel - */ - public String getValueAxisLabel() { - return mValueAxisLabel; - } - - /** - * @param pValueAxisLabel the valueAxisLabel to set - */ - public void setValueAxisLabel(String pValueAxisLabel) { - mValueAxisLabel = pValueAxisLabel; - } - } \ No newline at end of file