Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java @ 780:a39c2f531755
Implemented a new panel to enter kilometer ranges (with no option to insert locations).
flys-client/trunk@2269 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 30 Jun 2011 10:29:43 +0000 |
parents | 42512fce9b1b |
children | 4e0b73b7113b |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java Wed Jun 29 12:33:58 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java Thu Jun 30 10:29:43 2011 +0000 @@ -250,5 +250,15 @@ public void setTo(double value) { setDoubleValue(value, FIELD_TO); } + + + /** + * Sets a new step width. + * + * @param value The new step width. + */ + public void setStep(double value) { + setDoubleValue(value, FIELD_WIDTH); + } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :