comparison flys-artifacts/src/main/java/de/intevation/flys/exports/ChartSection.java @ 3468:f37e7e8907cb

merged flys-artifacts/2.8.1
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:39 +0200
parents ca8997aa683e
children f84854eba0b3
comparison
equal deleted inserted replaced
3387:5ffad8bde8ad 3468:f37e7e8907cb
1 package de.intevation.flys.exports;
2
3
4
5 /**
6 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
7 */
8 public class ChartSection extends TypeSection {
9
10 public static final String TITLE_ATTR = "title";
11 public static final String SUBTITLE_ATTR = "subtitle";
12 public static final String DISPLAYGRID_ATTR = "display-grid";
13
14
15 public ChartSection() {
16 super("chart");
17 }
18
19
20 public void setTitle(String title) {
21 setStringValue(TITLE_ATTR, title);
22 }
23
24
25 public String getTitle() {
26 return getStringValue(TITLE_ATTR);
27 }
28
29
30 public void setSubtitle(String subtitle) {
31 setStringValue(SUBTITLE_ATTR, subtitle);
32 }
33
34
35 public String getSubtitle() {
36 return getStringValue(SUBTITLE_ATTR);
37 }
38
39
40 public void setDisplayGird(boolean displayGrid) {
41 setBooleanValue(DISPLAYGRID_ATTR, displayGrid);
42 }
43
44
45 public Boolean getDisplayGrid() {
46 return getBooleanValue(DISPLAYGRID_ATTR);
47 }
48 }
49 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org