|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.shared.communication.SharedState
com.vaadin.shared.AbstractComponentState
com.vaadin.shared.ui.grid.GridState
public class GridState
The shared state for the com.vaadin.ui.components.grid.Grid component
| Nested Class Summary | |
|---|---|
static class |
GridState.SharedSelectionMode
A description of which of the three bundled SelectionModels is currently in use. |
| Field Summary | |
|---|---|
java.util.List<java.lang.String> |
columnOrder
Column order in grid. |
java.util.List<GridColumnState> |
columns
Columns in grid. |
static double |
DEFAULT_HEIGHT_BY_ROWS
The default value for height-by-rows for both GWT widgets Grid and
Escalator |
java.lang.String |
editorCancelCaption
The caption for the cancel button in the editor |
boolean |
editorEnabled
The enabled state of the editor interface |
java.lang.String |
editorSaveCaption
The caption for the save button in the editor |
GridStaticSectionState |
footer
|
int |
frozenColumnCount
The number of frozen columns |
boolean |
hasCellStyleGenerator
Whether row data might contain generated cell styles |
boolean |
hasRowStyleGenerator
Whether row data might contain generated row styles |
GridStaticSectionState |
header
|
double |
heightByRows
The height of the Grid in terms of body rows. |
HeightMode |
heightMode
The mode by which Grid defines its height. |
static java.lang.String |
JSONKEY_CELLSTYLES
The key in which a generated styles for a row's cells can be found |
static java.lang.String |
JSONKEY_DATA
The key in which a row's data can be found |
static java.lang.String |
JSONKEY_ROWKEY
The key in which a row's own key can be found |
static java.lang.String |
JSONKEY_ROWSTYLE
The key in which a row's generated style can be found |
java.util.List<java.lang.String> |
selectedKeys
|
GridState.SharedSelectionMode |
selectionMode
|
boolean |
singleSelectDeselectAllowed
Whether single select mode can be cleared through the UI |
java.lang.String[] |
sortColumns
Keys of the currently sorted columns |
SortDirection[] |
sortDirs
Directions for each sorted column |
| Fields inherited from class com.vaadin.shared.AbstractComponentState |
|---|
caption, captionAsHtml, description, errorMessage, height, id, immediate, primaryStyleName, readOnly, styles, width |
| Fields inherited from class com.vaadin.shared.communication.SharedState |
|---|
enabled, registeredEventListeners, resources |
| Constructor Summary | |
|---|---|
GridState()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double DEFAULT_HEIGHT_BY_ROWS
Grid and
Escalator
public static final java.lang.String JSONKEY_DATA
com.vaadin.shared.data.DataProviderRpc#setRowData(int, String),
Constant Field Valuespublic static final java.lang.String JSONKEY_ROWKEY
com.vaadin.shared.data.DataProviderRpc#setRowData(int, String),
Constant Field Valuespublic static final java.lang.String JSONKEY_ROWSTYLE
com.vaadin.shared.data.DataProviderRpc#setRowData(int, String),
Constant Field Valuespublic static final java.lang.String JSONKEY_CELLSTYLES
com.vaadin.shared.data.DataProviderRpc#setRowData(int, String),
Constant Field Valuespublic java.util.List<GridColumnState> columns
public java.util.List<java.lang.String> columnOrder
public GridStaticSectionState header
public GridStaticSectionState footer
public int frozenColumnCount
public double heightByRows
public HeightMode heightMode
public java.util.List<java.lang.String> selectedKeys
public GridState.SharedSelectionMode selectionMode
public boolean singleSelectDeselectAllowed
public java.lang.String[] sortColumns
public SortDirection[] sortDirs
public boolean editorEnabled
public boolean hasRowStyleGenerator
public boolean hasCellStyleGenerator
public java.lang.String editorSaveCaption
public java.lang.String editorCancelCaption
| Constructor Detail |
|---|
public GridState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||