Mercurial > dive4elements > river
view flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/OutputState.java @ 4198:1cdbd8a0c994
Added two new tables ClickableQDTable and ClickableWTable and made Ws and Qs clickable in historical discharge calculation.
The new tables define listener interfaces (clicked lower or upper icon) to listen to user clicks.
In addition to this, there is an enum ClickMode with NONE, SINGLE and RANGE options, which allows to
specifiy, which icons are displayed in the tables. NONE means no icon for user clicks, SINGLE has 1
icon, RANGE 2 icons for lower and upper.
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 22 Oct 2012 13:31:25 +0200 |
parents | 58bdf95df5e4 |
children |
line wrap: on
line source
package de.intevation.flys.artifacts.states; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import de.intevation.artifacts.Artifact; import de.intevation.artifacts.CallContext; import de.intevation.flys.artifacts.model.FacetTypes; public class OutputState extends DefaultState implements FacetTypes { @Override public Element describeStatic( Artifact artifact, Document document, Node root, CallContext context, String uuid) { return null; } @Override public Element describe( Artifact artifact, Document document, Node root, CallContext context, String uuid) { return null; } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :