view artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/inundationduration/YearChoice.java @ 9063:b6919e3c2d86

work on uinfo-inundation_duration states
author gernotbelger
date Tue, 08 May 2018 15:21:23 +0200
parents
children b5d7a9d79837
line wrap: on
line source
/* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
 * Software engineering by Intevation GmbH
 *
 * This file is Free Software under the GNU AGPL (>=v3)
 * and comes with ABSOLUTELY NO WARRANTY! Check out the
 * documentation coming with Dive4Elements River for details.
 */

package org.dive4elements.river.artifacts.uinfo.inundationduration;

import java.util.ArrayList;
import java.util.List;

import org.dive4elements.river.artifacts.states.RadioSelect;

/**
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
public class YearChoice extends RadioSelect {
    private static final long serialVersionUID = 1L;

    public YearChoice() {
        super();
    }

    @Override
    protected List<String> makeEntries() {
        final List<String> entries = new ArrayList<>();
        entries.add("state.uinfo.year");
        entries.add("state.uinfo.epoch");
        return entries;

    }
}

http://dive4elements.wald.intevation.org