public class GridState extends AbstractSingleSelectState
Grid
component.Modifier and Type | Field and Description |
---|---|
double |
bodyRowHeight
Explicit body row height in pixels for grid rows, or -1 to calculate
automatically based on the theme.
|
List<String> |
columnOrder
Column order in grid.
|
boolean |
columnReorderingAllowed
Whether the columns can be reordered.
|
ColumnResizeMode |
columnResizeMode
Column resize mode in grid.
|
static double |
DEFAULT_HEIGHT_BY_ROWS
|
SectionState |
footer
The state of the footer section.
|
double |
footerRowHeight
Explicit body row height in pixels for grid rows, or -1 to calculate
automatically based on the theme.
|
int |
frozenColumnCount
The number of frozen columns.
|
boolean |
hasDescriptions
Whether rows and/or cells have generated descriptions (tooltips).
|
SectionState |
header
The state of the header section.
|
double |
headerRowHeight
Explicit body row height in pixels for grid rows, or -1 to calculate
automatically based on the theme.
|
double |
heightByRows
The height of the Grid in terms of body rows.
|
HeightMode |
heightMode
The mode by which Grid defines its height.
|
static String |
JSONKEY_CELLDESCRIPTION
The key in which a cell's description can be found.
|
static String |
JSONKEY_CELLSTYLES
The key in which a generated styles for a row's cells can be found.
|
static String |
JSONKEY_DATA
The key in which a row's data can be found.
|
static String |
JSONKEY_DETAILS_VISIBLE
The key that tells whether details are visible for the row.
|
static String |
JSONKEY_ROWDESCRIPTION
The key in which a row's description can be found.
|
static String |
JSONKEY_ROWKEY
The key in which a row's own key can be found.
|
static String |
JSONKEY_ROWSTYLE
The key in which a row's generated style can be found.
|
static String |
JSONKEY_SELECTED
The key that tells whether row is selected or not.
|
ContentMode |
rowDescriptionContentMode
The content mode for row descriptions.
|
String[] |
sortColumns
Keys of the currently sorted columns.
|
SortDirection[] |
sortDirs
Directions for each sorted column.
|
selectedItemKey
readOnly, required
tabIndex
caption, captionAsHtml, description, descriptionContentMode, errorLevel, errorMessage, height, id, primaryStyleName, styles, width
enabled, registeredEventListeners, resources
Constructor and Description |
---|
GridState() |
public static final double DEFAULT_HEIGHT_BY_ROWS
public static final String JSONKEY_DATA
public static final String JSONKEY_ROWKEY
public static final String JSONKEY_ROWSTYLE
public static final String JSONKEY_CELLSTYLES
public static final String JSONKEY_ROWDESCRIPTION
public static final String JSONKEY_CELLDESCRIPTION
public static final String JSONKEY_DETAILS_VISIBLE
public static final String JSONKEY_SELECTED
public ColumnResizeMode columnResizeMode
public SectionState header
public SectionState footer
public int frozenColumnCount
public double heightByRows
public HeightMode heightMode
public String[] sortColumns
public SortDirection[] sortDirs
public boolean hasDescriptions
public boolean columnReorderingAllowed
public double bodyRowHeight
public double headerRowHeight
public double footerRowHeight
public ContentMode rowDescriptionContentMode
Copyright © 2018 Vaadin Ltd. All rights reserved.