summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-03-25 21:54:36 +0200
committerVaadin Code Review <review@vaadin.com>2013-04-03 06:42:36 +0000
commit9586a30b64bfd1e8645574d9d7b6568d52dc9e25 (patch)
treea26ec723ebac47fd78b6180bc41434029a502aaf /shared
parent3cc90e37d8abfa53d127691ae0b7641298d64fa2 (diff)
downloadvaadin-framework-9586a30b64bfd1e8645574d9d7b6568d52dc9e25.tar.gz
vaadin-framework-9586a30b64bfd1e8645574d9d7b6568d52dc9e25.zip
Made is possible to configure tooltip on the server (#8065)
Change-Id: I35af6df1dfa75ef1de1268eb630fc0f4b9306170
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/ui/UIState.java12
1 files changed, 12 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 9abaf47f4b..cc6897dd0d 100644
--- a/shared/src/com/vaadin/shared/ui/ui/UIState.java
+++ b/shared/src/com/vaadin/shared/ui/ui/UIState.java
@@ -15,9 +15,21 @@
*/
package com.vaadin.shared.ui.ui;
+import java.io.Serializable;
+
import com.vaadin.shared.ui.TabIndexState;
public class UIState extends TabIndexState {
+ public TooltipConfiguration tooltipConfiguration = new TooltipConfiguration();
+
+ public static class TooltipConfiguration implements Serializable {
+ public int openDelay = 750;
+ public int quickOpenDelay = 100;
+ public int quickOpenTimeout = 1000;
+ public int closeTimeout = 300;
+ public int maxWidth = 500;
+ }
+
{
primaryStyleName = "v-ui";
// Default is 1 for legacy reasons