Mercurial > dive4elements > river
view flys-artifacts/src/main/java/de/intevation/flys/exports/ChartSection.java @ 2081:aa9cc91c8193
#444 Take care on NullPointerExceptions in getWQMode. Take 'false' as default value if no 'wq_free' item is existing.
flys-artifacts/trunk@3597 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 05 Jan 2012 14:15:07 +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 :