diff flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java @ 903:dd702348b878

Changed columns to the correct type for most tables. (Issue200) flys-client/trunk@2752 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 14 Sep 2011 16:13:17 +0000
parents 89c01218172b
children 39acba4b5f0b
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java	Wed Sep 14 15:02:16 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java	Wed Sep 14 16:13:17 2011 +0000
@@ -258,10 +258,10 @@
         ddescr.setType(ListGridFieldType.TEXT);
         ddescr.setWidth("*");
         ListGridField from = new ListGridField("from", MESSAGES.from());
-        from.setType(ListGridFieldType.TEXT);
+        from.setType(ListGridFieldType.FLOAT);
         from.setWidth("12%");
         ListGridField to = new ListGridField("to", MESSAGES.to());
-        to.setType(ListGridFieldType.TEXT);
+        to.setType(ListGridFieldType.FLOAT);
         to.setWidth("12%");
         ListGridField dside = new ListGridField("riverside",
                 MESSAGES.riverside());
@@ -335,7 +335,7 @@
         lside.setType(ListGridFieldType.TEXT);
         lside.setWidth("12%");
         ListGridField loc = new ListGridField("from", MESSAGES.locations());
-        loc.setType(ListGridFieldType.TEXT);
+        loc.setType(ListGridFieldType.FLOAT);
         loc.setWidth("12%");
 
         ListGridField bottom =
@@ -420,7 +420,7 @@
         lside.setType(ListGridFieldType.TEXT);
         lside.setWidth("12%");
         ListGridField loc = new ListGridField("from", MESSAGES.locations());
-        loc.setType(ListGridFieldType.TEXT);
+        loc.setType(ListGridFieldType.FLOAT);
         loc.setWidth("12%");
 
         locationDistanceTable.setFields(

http://dive4elements.wald.intevation.org