[Dive4elements-commits] [PATCH 3 of 4] Doc
Wald Commits
scm-commit at wald.intevation.org
Thu Feb 14 10:43:20 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1360835382 -3600
# Node ID 1caf1d7350793bc6bfeb2d7f593c5822261c6c53
# Parent 3b9f6765d9dc6fae79966ef4935b161e9d6284b0
Doc.
diff -r 3b9f6765d9dc -r 1caf1d735079 flys-client/src/main/java/de/intevation/flys/client/client/ui/wq/WQAutoTabSet.java
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/wq/WQAutoTabSet.java Thu Feb 14 10:49:20 2013 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/wq/WQAutoTabSet.java Thu Feb 14 10:49:42 2013 +0100
@@ -19,18 +19,24 @@
import de.intevation.flys.client.client.Config;
+/** Tabset showing non-selectable W and Q/D values for a gauge. */
public class WQAutoTabSet extends TabSet {
+ /** Service to fetch W/Q/D values. */
WQInfoServiceAsync wqInfoService =
GWT.create(WQInfoService.class);
/** The message class that provides i18n strings.*/
protected FLYSConstants MESSAGE = GWT.create(FLYSConstants.class);
+ /** Table showing Q/D values. */
protected QDTable qdTable;
+ /** Table showing W values. */
protected WTable wTable;
+
+ /** Set up two tabs showing W and Q/D values, fetch and populate tables. */
public WQAutoTabSet(String riverName, double[] dist) {
super();
@@ -76,7 +82,8 @@
}
- protected void addWQInfo (WQInfoObject[] wqi) {
+ /** Populate tables with one value. */
+ private void addWQInfo (WQInfoObject[] wqi) {
for(WQInfoObject wi: wqi) {
WQInfoRecord rec = new WQInfoRecord(wi);
More information about the Dive4elements-commits
mailing list