diff flys-client/src/main/java/de/intevation/flys/client/shared/model/ZoomObj.java @ 1280:66192d170c79

Bugfix: #179 and #198 Zoom-out will no longer work with a factor but with stacked chart extents. flys-client/trunk@2862 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 29 Sep 2011 11:12:04 +0000
parents
children 8bbaa0d173cf
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/ZoomObj.java	Thu Sep 29 11:12:04 2011 +0000
@@ -0,0 +1,30 @@
+package de.intevation.flys.client.shared.model;
+
+import java.io.Serializable;
+
+
+public class ZoomObj implements Serializable {
+
+    protected double a;
+    protected double b;
+    protected double c;
+    protected double d;
+
+
+    public ZoomObj() {
+    }
+
+
+    public ZoomObj(double a, double b, double c, double d) {
+        this.a = a;
+        this.b = b;
+        this.c = c;
+        this.d = d;
+    }
+
+
+    public double[] getZoom() {
+        return new double[] { a, b, c, d };
+    }
+}
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org