9063
|
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde |
|
2 * Software engineering by Intevation GmbH |
|
3 * |
|
4 * This file is Free Software under the GNU AGPL (>=v3) |
|
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the |
|
6 * documentation coming with Dive4Elements River for details. |
|
7 */ |
|
8 |
|
9 package org.dive4elements.river.artifacts.uinfo.inundationduration; |
|
10 |
|
11 import java.util.ArrayList; |
|
12 import java.util.List; |
|
13 |
|
14 import org.dive4elements.river.artifacts.states.RadioSelect; |
|
15 |
|
16 /** |
|
17 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
|
18 */ |
|
19 public class YearChoice extends RadioSelect { |
|
20 private static final long serialVersionUID = 1L; |
|
21 |
|
22 public YearChoice() { |
|
23 super(); |
|
24 } |
|
25 |
|
26 @Override |
|
27 protected List<String> makeEntries() { |
|
28 final List<String> entries = new ArrayList<>(); |
|
29 entries.add("state.uinfo.year"); |
|
30 entries.add("state.uinfo.epoch"); |
|
31 return entries; |
|
32 |
|
33 } |
|
34 } |