Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java @ 1369:1fae113b93fd
Issue 118/203.
Lock table for Q input and clear values on input change.
Updated i18n strings.
flys-client/trunk@3074 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 25 Oct 2011 13:32:16 +0000 |
parents | 2c8f1112be37 |
children | 748e7c828d03 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java Tue Oct 25 12:41:16 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java Tue Oct 25 13:32:16 2011 +0000 @@ -22,6 +22,8 @@ /** The interface that provides the image resources. */ private FLYSImages IMAGES = GWT.create(FLYSImages.class); + protected boolean lockClick; + public QDTable() { setWidth100(); setHeight100(); @@ -60,12 +62,18 @@ public void hideIconFields () { hideField("max"); hideField("min"); + lockClick = true; } public void showIconFields() { showField("max"); showField("min"); + lockClick = false; + } + + public boolean isLocked() { + return lockClick; } }