comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/InputDoubleState.java @ 2251:c9c788eea200

Improved reference curve. flys-artifacts/trunk@3900 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 03 Feb 2012 13:49:16 +0000
parents
children a929d9a9fa1e
comparison
equal deleted inserted replaced
2250:40608c82e9cb 2251:c9c788eea200
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 :

http://dive4elements.wald.intevation.org