summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/slider/SliderState.java8
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;
}