Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
1368:ec0c81f2c7a4 | 1369:1fae113b93fd |
---|---|
19 /** The message class that provides i18n strings.*/ | 19 /** The message class that provides i18n strings.*/ |
20 protected FLYSConstants MESSAGE = GWT.create(FLYSConstants.class); | 20 protected FLYSConstants MESSAGE = GWT.create(FLYSConstants.class); |
21 | 21 |
22 /** The interface that provides the image resources. */ | 22 /** The interface that provides the image resources. */ |
23 private FLYSImages IMAGES = GWT.create(FLYSImages.class); | 23 private FLYSImages IMAGES = GWT.create(FLYSImages.class); |
24 | |
25 protected boolean lockClick; | |
24 | 26 |
25 public QDTable() { | 27 public QDTable() { |
26 setWidth100(); | 28 setWidth100(); |
27 setHeight100(); | 29 setHeight100(); |
28 setSelectionType(SelectionStyle.SINGLE); | 30 setSelectionType(SelectionStyle.SINGLE); |
58 } | 60 } |
59 | 61 |
60 public void hideIconFields () { | 62 public void hideIconFields () { |
61 hideField("max"); | 63 hideField("max"); |
62 hideField("min"); | 64 hideField("min"); |
65 lockClick = true; | |
63 } | 66 } |
64 | 67 |
65 | 68 |
66 public void showIconFields() { | 69 public void showIconFields() { |
67 showField("max"); | 70 showField("max"); |
68 showField("min"); | 71 showField("min"); |
72 lockClick = false; | |
73 } | |
74 | |
75 public boolean isLocked() { | |
76 return lockClick; | |
69 } | 77 } |
70 | 78 |
71 } | 79 } |
72 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 80 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |