Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/NilNaviChartStepper.java @ 9263:abf14917be32
Moved stepping behaviour of NaviOutputChart into an exchangeable strategy.
Allows for distinct values stepping of sinfo flood duration.
author | gernotbelger |
---|---|
date | Tue, 17 Jul 2018 19:48:18 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
9262:fee5fa18361c | 9263:abf14917be32 |
---|---|
1 /** Copyright (C) 2017 by Bundesanstalt für Gewässerkunde | |
2 * Software engineering by | |
3 * Björnsen Beratende Ingenieure GmbH | |
4 * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt | |
5 * | |
6 * This file is Free Software under the GNU AGPL (>=v3) | |
7 * and comes with ABSOLUTELY NO WARRANTY! Check out the | |
8 * documentation coming with Dive4Elements River for details. | |
9 */ | |
10 package org.dive4elements.river.client.client.ui.chart; | |
11 | |
12 /** | |
13 * Nil implementation that always return 0 as current station. | |
14 * | |
15 * @author Gernot Belger | |
16 */ | |
17 public class NilNaviChartStepper implements INaviChartStepper { | |
18 | |
19 @Override | |
20 public double getCurrentKm() { | |
21 return 0; | |
22 } | |
23 | |
24 @Override | |
25 public double stepForward() { | |
26 return 0; | |
27 } | |
28 | |
29 @Override | |
30 public double stepBackward() { | |
31 return 0; | |
32 } | |
33 | |
34 @Override | |
35 public double setValidCurrentKm(final double userInput) { | |
36 return 0; | |
37 } | |
38 } |