comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/wq/QDTable.java @ 8856:5e38e2924c07 3.2.x

Fix code style.
author Tom Gottfried <tom@intevation.de>
date Thu, 18 Jan 2018 20:12:01 +0100
parents a64ed9f067c6
children
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
71 71
72 ListGridField type = new ListGridField("type", MESSAGE.type()); 72 ListGridField type = new ListGridField("type", MESSAGE.type());
73 type.setType(ListGridFieldType.TEXT); 73 type.setType(ListGridFieldType.TEXT);
74 type.setWidth("10%"); 74 type.setWidth("10%");
75 75
76 ListGridField startTime = WTable.createYearListGridField("starttime", MESSAGE.starttime()); 76 ListGridField startTime = WTable.createYearListGridField(
77 "starttime", MESSAGE.starttime());
77 78
78 ListGridField stopTime = WTable.createYearListGridField("stoptime", MESSAGE.stoptime()); 79 ListGridField stopTime = WTable.createYearListGridField(
80 "stoptime", MESSAGE.stoptime());
79 81
80 final NumberFormat nf = NumberFormat.getDecimalFormat(); 82 final NumberFormat nf = NumberFormat.getDecimalFormat();
81 83
82 ListGridField value = new ListGridField("value", MESSAGE.wq_value_q()); 84 ListGridField value = new ListGridField("value", MESSAGE.wq_value_q());
83 value.setType(ListGridFieldType.FLOAT); 85 value.setType(ListGridFieldType.FLOAT);
97 } 99 }
98 } 100 }
99 }); 101 });
100 value.setWidth("15%"); 102 value.setWidth("15%");
101 103
102 ListGridField official = new ListGridField("official", MESSAGE.official_regulation()); 104 ListGridField official = new ListGridField(
105 "official", MESSAGE.official_regulation());
103 official.setType(ListGridFieldType.TEXT); 106 official.setType(ListGridFieldType.TEXT);
104 official.setWidth("25%"); 107 official.setWidth("25%");
105 108
106 setFields(addMax, addMin, select, name, startTime, stopTime, type, value, official); 109 setFields(addMax, addMin, select, name,
110 startTime, stopTime, type, value, official);
107 } 111 }
108 112
109 public void hideIconFields () { 113 public void hideIconFields () {
110 hideField("max"); 114 hideField("max");
111 hideField("min"); 115 hideField("min");

http://dive4elements.wald.intevation.org