diff options
author | Artur Signell <artur@vaadin.com> | 2013-03-25 23:37:45 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-04-03 06:42:55 +0000 |
commit | ce2df6d10370c669a512e96f0693fc37cf02aca1 (patch) | |
tree | 5b12cf84ba967b17d96c0a5913030e23a491eeb6 /shared/src/com | |
parent | 9586a30b64bfd1e8645574d9d7b6568d52dc9e25 (diff) | |
download | vaadin-framework-ce2df6d10370c669a512e96f0693fc37cf02aca1.tar.gz vaadin-framework-ce2df6d10370c669a512e96f0693fc37cf02aca1.zip |
Enable setting loading indicator delays from the server (#7448)
* Refactored LoadingIndicator to a separate class on client side to enable customization and to remove clutter from ApplicationConnection
Change-Id: I12e94294beed9c65a5710bdfe2486bc0f1b92bd9
Diffstat (limited to 'shared/src/com')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/ui/UIState.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/ui/UIState.java b/shared/src/com/vaadin/shared/ui/ui/UIState.java index cc6897dd0d..d5ee4c30e6 100644 --- a/shared/src/com/vaadin/shared/ui/ui/UIState.java +++ b/shared/src/com/vaadin/shared/ui/ui/UIState.java @@ -21,6 +21,13 @@ import com.vaadin.shared.ui.TabIndexState; public class UIState extends TabIndexState { public TooltipConfiguration tooltipConfiguration = new TooltipConfiguration(); + public LoadingIndicatorConfiguration loadingIndicatorConfiguration = new LoadingIndicatorConfiguration(); + + public static class LoadingIndicatorConfiguration implements Serializable { + public int initialDelay = 300; + public int delayStateDelay = 1500; + public int waitStateDelay = 5000; + } public static class TooltipConfiguration implements Serializable { public int openDelay = 750; |