summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorArtur <artur@vaadin.com>2018-03-13 14:03:29 +0200
committerIlia Motornyi <elmot@vaadin.com>2018-03-13 15:03:29 +0300
commite813c97e0bdc00c5542c9bf0f55eef65f34ac093 (patch)
treedf2557a4a63a9de77234358e0c55bfc8ca1185ff /shared
parent0af3b7d717b44b0de1af82143b3c3d3aece587ab (diff)
downloadvaadin-framework-e813c97e0bdc00c5542c9bf0f55eef65f34ac093.tar.gz
vaadin-framework-e813c97e0bdc00c5542c9bf0f55eef65f34ac093.zip
Setting of tooltips for grid header/footer cells (#10489)
Fixes #7527
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java
index a76c6927b6..ba9a44677e 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java
@@ -23,6 +23,7 @@ import java.util.Map;
import java.util.Set;
import com.vaadin.shared.Connector;
+import com.vaadin.shared.ui.ContentMode;
/**
* Shared state for Grid headers and footers.
@@ -75,6 +76,12 @@ public class SectionState implements Serializable {
/** The id of the column that this cell belongs to. */
public String columnId;
+
+ /** The tooltip for the cell */
+ public String description;
+
+ /** The content mode for the tooltip for the cell */
+ public ContentMode descriptionContentMode = ContentMode.TEXT;
}
/** The rows in this section. */