comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java @ 5104:5f70c73b11ed

Display gauge names in WQAdapted input panel instead of gauge range.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 26 Feb 2013 13:59:20 +0100
parents 360e22afb98b
children d07abdb7ed7f
comparison
equal deleted inserted replaced
5103:15e856a64cdd 5104:5f70c73b11ed
20 /** The message class that provides i18n strings. */ 20 /** The message class that provides i18n strings. */
21 protected FLYSConstants MESSAGES = GWT.create(FLYSConstants.class); 21 protected FLYSConstants MESSAGES = GWT.create(FLYSConstants.class);
22 22
23 protected TextItem ti; 23 protected TextItem ti;
24 24
25 private String title;
26
25 /** The constant input field name. */ 27 /** The constant input field name. */
26 public static final String FIELD_NAME = "doublearray"; 28 public static final String FIELD_NAME = "doublearray";
27 29
28 30
29 public DoubleArrayPanel( 31 public DoubleArrayPanel(
48 String title, 50 String title,
49 double[] values, 51 double[] values,
50 BlurHandler handler, 52 BlurHandler handler,
51 TitleOrientation titleOrientation) 53 TitleOrientation titleOrientation)
52 { 54 {
55 this.title = title;
53 ti = new TextItem(FIELD_NAME); 56 ti = new TextItem(FIELD_NAME);
54 StaticTextItem sti = new StaticTextItem("staticarray"); 57 StaticTextItem sti = new StaticTextItem("staticarray");
55 58
56 ti.setShowTitle(false); 59 ti.setShowTitle(false);
57 sti.setShowTitle(false); 60 sti.setShowTitle(false);
261 * @return the double values of this panel. 264 * @return the double values of this panel.
262 */ 265 */
263 public double[] getInputValues() { 266 public double[] getInputValues() {
264 return getInputValues(ti); 267 return getInputValues(ti);
265 } 268 }
269
270 public String getItemTitle() {
271 return this.title;
272 }
266 } 273 }
267 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 274 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org