diff options
author | Artur Signell <artur@vaadin.com> | 2012-09-25 09:20:15 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-09-25 09:20:15 +0300 |
commit | 46ee3ae1c7a6e6270b2319d1c571e4440638e377 (patch) | |
tree | 1c8486bf263beb63ad010052ea158a54baf14e5d | |
parent | 35f00592e6c1b756b642ad4329a9a14314b80fe1 (diff) | |
download | vaadin-framework-46ee3ae1c7a6e6270b2319d1c571e4440638e377.tar.gz vaadin-framework-46ee3ae1c7a6e6270b2319d1c571e4440638e377.zip |
Added defaults for slider state (#9734)
-rw-r--r-- | shared/src/com/vaadin/shared/ui/slider/SliderState.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shared/src/com/vaadin/shared/ui/slider/SliderState.java b/shared/src/com/vaadin/shared/ui/slider/SliderState.java index 7236672b31..ca18f72b7a 100644 --- a/shared/src/com/vaadin/shared/ui/slider/SliderState.java +++ b/shared/src/com/vaadin/shared/ui/slider/SliderState.java @@ -6,15 +6,15 @@ public class SliderState extends AbstractFieldState { public double value; - public double maxValue; - public double minValue; + public double maxValue = 100; + public double minValue = 0; /** * The number of fractional digits that are considered significant. Must be * non-negative. */ - public int resolution; + public int resolution = 0; - public SliderOrientation orientation; + public SliderOrientation orientation = SliderOrientation.HORIZONTAL; } |