Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/shared/model/ChartInfo.java @ 610:ea2191b1299d
#170 Changed the DOM manipulation while zoom and drag operation.
flys-client/trunk@2223 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 23 Jun 2011 17:46:08 +0000 |
parents | 460b8e0f0563 |
children | 936e3e6cd9b9 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/ChartInfo.java Thu Jun 23 17:16:08 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/ChartInfo.java Thu Jun 23 17:46:08 2011 +0000 @@ -2,6 +2,8 @@ import java.io.Serializable; +import com.google.gwt.core.client.GWT; + import de.intevation.flys.client.shared.Transform2D; @@ -62,5 +64,28 @@ return null; } + + + public void dumpGWT() { + StringBuilder sb = new StringBuilder(); + + Axis x = getXAxis(0); + + GWT.log("X axis:"); + GWT.log("... from " + x.getFrom() + " to " + x.getTo()); + GWT.log("... min " + x.getMin() + " max " + x.getMax()); + + for (int i = 0, count = getYAxisCount(); i < count; i++) { + Axis y = getYAxis(i); + + GWT.log("Y axis " + i + ":"); + GWT.log("... from " + y.getFrom() + " to " + y.getTo()); + GWT.log("... min " + y.getMin() + " max " + y.getMax()); + } + + for (Transform2D t: transformer) { + t.dumpGWT(); + } + } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :