From bb2e6035d2297025fb55f88911d435747eab3819 Mon Sep 17 00:00:00 2001 From: Henrik Paul Date: Mon, 12 Jan 2015 16:08:18 +0200 Subject: Adds PROGRESSBAR_STATIC to Reindeer and Runo (#16173) Grid's ProgressBarRenderer uses that style by default. Change-Id: Ie3e1ec33168f61f921efdaf554714fba10cb2644 --- server/src/com/vaadin/ui/themes/Reindeer.java | 20 ++++++++++++-------- server/src/com/vaadin/ui/themes/Runo.java | 12 ++++++++++++ 2 files changed, 24 insertions(+), 8 deletions(-) (limited to 'server/src') diff --git a/server/src/com/vaadin/ui/themes/Reindeer.java b/server/src/com/vaadin/ui/themes/Reindeer.java index 6eeebd8a03..e0ab792a15 100644 --- a/server/src/com/vaadin/ui/themes/Reindeer.java +++ b/server/src/com/vaadin/ui/themes/Reindeer.java @@ -15,14 +15,6 @@ */ package com.vaadin.ui.themes; -import com.vaadin.ui.CssLayout; -import com.vaadin.ui.FormLayout; -import com.vaadin.ui.GridLayout; -import com.vaadin.ui.HorizontalLayout; -import com.vaadin.ui.HorizontalSplitPanel; -import com.vaadin.ui.VerticalLayout; -import com.vaadin.ui.VerticalSplitPanel; - public class Reindeer extends BaseTheme { public static final String THEME_NAME = "reindeer"; @@ -88,6 +80,18 @@ public class Reindeer extends BaseTheme { */ public static final String PANEL_LIGHT = "light"; + /*************************************************************************** + * + * ProgressBar Styles + * + **************************************************************************/ + + /** + * Displays the progress bar with a static background, instead of an + * animated one. + */ + public static final String PROGRESSBAR_STATIC = "static"; + /*************************************************************************** * * SplitPanel styles diff --git a/server/src/com/vaadin/ui/themes/Runo.java b/server/src/com/vaadin/ui/themes/Runo.java index 11f1bae682..6f8d5f37d9 100644 --- a/server/src/com/vaadin/ui/themes/Runo.java +++ b/server/src/com/vaadin/ui/themes/Runo.java @@ -57,6 +57,18 @@ public class Runo extends BaseTheme { */ public static final String PANEL_LIGHT = "light"; + /*************************************************************************** + * + * ProgressBar Styles + * + **************************************************************************/ + + /** + * Displays the progress bar with a static background, instead of an + * animated one. + */ + public static final String PROGRESSBAR_STATIC = "static"; + /*************************************************************************** * * TabSheet styles -- cgit v1.2.3