view flys-artifacts/src/main/java/de/intevation/flys/exports/ChartSection.java @ 2576:0611ae467e4a

Stub to export the 'W (cm)' column of reference curves conditionally on Gauge presence. flys-artifacts/trunk@4114 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 05 Mar 2012 10:00:06 +0000
parents ca8997aa683e
children f84854eba0b3
line wrap: on
line source
package de.intevation.flys.exports;



/**
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
public class ChartSection extends TypeSection {

    public static final String TITLE_ATTR       = "title";
    public static final String SUBTITLE_ATTR    = "subtitle";
    public static final String DISPLAYGRID_ATTR = "display-grid";


    public ChartSection() {
        super("chart");
    }


    public void setTitle(String title) {
        setStringValue(TITLE_ATTR, title);
    }


    public String getTitle() {
        return getStringValue(TITLE_ATTR);
    }


    public void setSubtitle(String subtitle) {
        setStringValue(SUBTITLE_ATTR, subtitle);
    }


    public String getSubtitle() {
        return getStringValue(SUBTITLE_ATTR);
    }


    public void setDisplayGird(boolean displayGrid) {
        setBooleanValue(DISPLAYGRID_ATTR, displayGrid);
    }


    public Boolean getDisplayGrid() {
        return getBooleanValue(DISPLAYGRID_ATTR);
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org