summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/progressindicator/ProgressBarState.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/progressindicator/ProgressIndicatorState.java6
2 files changed, 10 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/progressindicator/ProgressBarState.java b/shared/src/com/vaadin/shared/ui/progressindicator/ProgressBarState.java
index fef1030c63..1cc8d7d9ae 100644
--- a/shared/src/com/vaadin/shared/ui/progressindicator/ProgressBarState.java
+++ b/shared/src/com/vaadin/shared/ui/progressindicator/ProgressBarState.java
@@ -26,7 +26,11 @@ import com.vaadin.shared.communication.SharedState;
* @author Vaadin Ltd
*/
public class ProgressBarState extends AbstractFieldState {
+ public static final String PRIMARY_STYLE_NAME = "v-progressbar";
+ {
+ primaryStyleName = PRIMARY_STYLE_NAME;
+ }
public boolean indeterminate = false;
public Float state = 0.0f;
diff --git a/shared/src/com/vaadin/shared/ui/progressindicator/ProgressIndicatorState.java b/shared/src/com/vaadin/shared/ui/progressindicator/ProgressIndicatorState.java
index f555476be8..2ca7627f4f 100644
--- a/shared/src/com/vaadin/shared/ui/progressindicator/ProgressIndicatorState.java
+++ b/shared/src/com/vaadin/shared/ui/progressindicator/ProgressIndicatorState.java
@@ -17,5 +17,11 @@ package com.vaadin.shared.ui.progressindicator;
@Deprecated
public class ProgressIndicatorState extends ProgressBarState {
+ public static final String PRIMARY_STYLE_NAME = "v-progressindicator";
+
+ {
+ primaryStyleName = PRIMARY_STYLE_NAME;
+ }
+
public int pollingInterval = 1000;
}