com.vaadin.shared.ui.grid.

Class GridState

    • Field Detail

      • DEFAULT_HEIGHT_BY_ROWS

        public static final double DEFAULT_HEIGHT_BY_ROWS

        The default value for height-by-rows for both GWT widgets Grid and Escalator

        See Also:

        Constant Field Values

      • JSONKEY_DATA

        public static final String JSONKEY_DATA

        The key in which a row's data can be found

        See Also:

        com.vaadin.shared.data.DataProviderRpc#setRowData(int, String), Constant Field Values

      • JSONKEY_ROWKEY

        public static final String JSONKEY_ROWKEY

        The key in which a row's own key can be found

        See Also:

        com.vaadin.shared.data.DataProviderRpc#setRowData(int, String), Constant Field Values

      • JSONKEY_ROWSTYLE

        public static final String JSONKEY_ROWSTYLE

        The key in which a row's generated style can be found

        See Also:

        com.vaadin.shared.data.DataProviderRpc#setRowData(int, String), Constant Field Values

      • JSONKEY_CELLSTYLES

        public static final String JSONKEY_CELLSTYLES

        The key in which a generated styles for a row's cells can be found

        See Also:

        com.vaadin.shared.data.DataProviderRpc#setRowData(int, String), Constant Field Values

      • JSONKEY_ROWDESCRIPTION

        public static final String JSONKEY_ROWDESCRIPTION

        The key in which a row's description can be found

        Since:

        7.6

        See Also:

        com.vaadin.shared.data.DataProviderRpc#setRowData(int, String), Constant Field Values

      • JSONKEY_CELLDESCRIPTION

        public static final String JSONKEY_CELLDESCRIPTION

        The key in which a cell's description can be found

        Since:

        7.6

        See Also:

        com.vaadin.shared.data.DataProviderRpc#setRowData(int, String), Constant Field Values

      • JSONKEY_SELECTED

        public static final String JSONKEY_SELECTED

        The key that tells whether row is selected.

        Since:

        7.6

        See Also:

        Constant Field Values

      • columnResizeMode

        public ColumnResizeMode columnResizeMode

        Column resize mode in grid.

        Since:

        7.7.5

      • columnOrder

        public List<String> columnOrder

        Column order in grid.

      • frozenColumnCount

        public int frozenColumnCount

        The number of frozen columns

      • heightByRows

        public double heightByRows

        The height of the Grid in terms of body rows.

      • heightMode

        public HeightMode heightMode

        The mode by which Grid defines its height.

      • sortColumns

        public String[] sortColumns

        Keys of the currently sorted columns

      • sortDirs

        public SortDirection[] sortDirs

        Directions for each sorted column

      • editorEnabled

        public boolean editorEnabled

        The enabled state of the editor interface

      • editorBuffered

        public boolean editorBuffered

        Buffered editor mode

        Since:

        7.6

      • hasDescriptions

        public boolean hasDescriptions

        Whether rows and/or cells have generated descriptions (tooltips)

        Since:

        7.6

      • editorSaveCaption

        public String editorSaveCaption

        The caption for the save button in the editor

      • editorCancelCaption

        public String editorCancelCaption

        The caption for the cancel button in the editor

      • columnReorderingAllowed

        public boolean columnReorderingAllowed

        Whether the columns can be reordered

      • cellTooltipContentMode

        public ContentMode cellTooltipContentMode

        The content mode used for cell tooltips.

        Since:

        7.7.14

      • rowTooltipContentMode

        public ContentMode rowTooltipContentMode

        The content mode used for row tooltips.

        Since:

        7.7.14

    • Constructor Detail

      • GridState

        public GridState()