diff options
author | Aleksi Hietanen <aleksi@vaadin.com> | 2016-10-17 10:13:33 +0300 |
---|---|---|
committer | Aleksi Hietanen <aleksi@vaadin.com> | 2016-10-25 14:38:11 +0300 |
commit | e0fcd1cfe0cea7dac124df0d86bf74f8d8c4f9be (patch) | |
tree | 826e734991743aa7531f026f74eb2f830715f247 /shared/src | |
parent | 63d218efc0ee5825633b4950e3355f4e8cc7bc29 (diff) | |
download | vaadin-framework-e0fcd1cfe0cea7dac124df0d86bf74f8d8c4f9be.tar.gz vaadin-framework-e0fcd1cfe0cea7dac124df0d86bf74f8d8c4f9be.zip |
Grid html/component content in headers
Change-Id: Ie6129b51d15d4f30a6b4c034999ff02deec1c6a7
Diffstat (limited to 'shared/src')
-rw-r--r-- | shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java | 16 |
1 files changed, 16 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 55a8df99b8..39d2d2f2e9 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 @@ -21,6 +21,8 @@ import java.util.HashMap; import java.util.List; import java.util.Map; +import com.vaadin.shared.Connector; + /** * Shared state for Grid headers and footers. * @@ -45,9 +47,23 @@ public class SectionState implements Serializable { /** The state of a header or footer cell. */ public static class CellState implements Serializable { + public GridStaticCellType type = GridStaticCellType.TEXT; + + /** The style name for this cell. Null if none. */ + public String styleName = null; + /** The textual caption of this cell. */ public String text; + /** The html content of this cell. */ + public String html; + + /** + * The connector for the component that is set to be displayed in this + * cell. Null if none. + */ + public Connector connector = null; + /** The id of the column that this cell belongs to. */ public String columnId; } |