diff options
author | Ilia Motornyi <elmot@vaadin.com> | 2018-02-15 15:33:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-15 15:33:05 +0200 |
commit | 6d84351fee4bdb6e877d9100c8645e6c6044864e (patch) | |
tree | e11270aa15b3b348b9ee3ff8714fc126b4a6af34 /compatibility-shared | |
parent | fd4dedf921f6cf0f80bfedac8474562b41325e56 (diff) | |
download | vaadin-framework-6d84351fee4bdb6e877d9100c8645e6c6044864e.tar.gz vaadin-framework-6d84351fee4bdb6e877d9100c8645e6c6044864e.zip |
Allow configuring content modes for Grid cell tooltips (#10632)
* Allow configuring content modes for Grid cell tooltips
Diffstat (limited to 'compatibility-shared')
-rw-r--r-- | compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/grid/GridState.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/grid/GridState.java b/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/grid/GridState.java index cfefce4326..75e1d392d0 100644 --- a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/grid/GridState.java +++ b/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/grid/GridState.java @@ -21,6 +21,7 @@ import java.util.List; import com.vaadin.shared.annotations.DelegateToWidget; import com.vaadin.shared.data.sort.SortDirection; +import com.vaadin.shared.ui.ContentMode; import com.vaadin.shared.ui.TabIndexState; /** @@ -210,4 +211,18 @@ public class GridState extends TabIndexState { @DelegateToWidget public boolean columnReorderingAllowed; + /** + * The content mode used for cell tooltips. + * + * @since + */ + public ContentMode cellTooltipContentMode = ContentMode.PREFORMATTED; + + /** + * The content mode used for row tooltips. + * + * @since + */ + public ContentMode rowTooltipContentMode = ContentMode.PREFORMATTED; + } |