Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/InputDoubleState.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 | c9c788eea200 |
children | a929d9a9fa1e |
comparison
equal
deleted
inserted
replaced
3387:5ffad8bde8ad | 3468:f37e7e8907cb |
---|---|
1 package de.intevation.flys.artifacts.states; | |
2 | |
3 import org.apache.log4j.Logger; | |
4 | |
5 import de.intevation.flys.artifacts.FLYSArtifact; | |
6 | |
7 | |
8 /** | |
9 * State to keep a double value and validate it against a range | |
10 */ | |
11 public class InputDoubleState extends MinMaxState { | |
12 | |
13 private static final Logger logger = Logger.getLogger(InputDoubleState.class); | |
14 | |
15 | |
16 @Override | |
17 protected String getUIProvider() { | |
18 return "location_panel"; | |
19 } | |
20 | |
21 | |
22 @Override | |
23 protected Object getLower(FLYSArtifact flys) { | |
24 return 0; | |
25 } | |
26 | |
27 | |
28 @Override | |
29 protected Object getUpper(FLYSArtifact flys) { | |
30 return 0; | |
31 } | |
32 | |
33 | |
34 @Override | |
35 protected String getType() { | |
36 return "double"; | |
37 } | |
38 } | |
39 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |