diff flys-client/src/main/java/de/intevation/flys/client/shared/model/ZoomObj.java @ 1597:8bbaa0d173cf

Save zoom parameters as Number; added new Axis types NumberAxis and DateAxis. flys-client/trunk@3923 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 06 Feb 2012 13:27:05 +0000
parents 66192d170c79
children
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/ZoomObj.java	Mon Feb 06 12:38:48 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/ZoomObj.java	Mon Feb 06 13:27:05 2012 +0000
@@ -5,17 +5,17 @@
 
 public class ZoomObj implements Serializable {
 
-    protected double a;
-    protected double b;
-    protected double c;
-    protected double d;
+    protected Number a;
+    protected Number b;
+    protected Number c;
+    protected Number d;
 
 
     public ZoomObj() {
     }
 
 
-    public ZoomObj(double a, double b, double c, double d) {
+    public ZoomObj(Number a, Number b, Number c, Number d) {
         this.a = a;
         this.b = b;
         this.c = c;
@@ -23,8 +23,8 @@
     }
 
 
-    public double[] getZoom() {
-        return new double[] { a, b, c, d };
+    public Number[] getZoom() {
+        return new Number[] { a, b, c, d };
     }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org