Mercurial > dive4elements > river
changeset 4987:1caf1d735079
Doc.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 14 Feb 2013 10:49:42 +0100 |
parents | 3b9f6765d9dc |
children | e2053fbcd165 |
files | flys-client/src/main/java/de/intevation/flys/client/client/ui/wq/WQAutoTabSet.java |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);