Package com.vaadin.client.widgets
Class Grid.HeaderRow
- java.lang.Object
-
- com.vaadin.client.widgets.Grid.StaticSection.StaticRow<Grid.HeaderCell>
-
- com.vaadin.client.widgets.Grid.HeaderRow
-
public static class Grid.HeaderRow extends Grid.StaticSection.StaticRow<Grid.HeaderCell>
A single row in a grid header section.
-
-
Constructor Summary
Constructors Constructor Description HeaderRow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Grid.HeaderCellcreateCell()Creates a cell of a type that matches this row.booleanisDefault()Returns whether this is the default header row or not.protected voidsetDefault(boolean isDefault)Sets whether this is the default header row or not.-
Methods inherited from class com.vaadin.client.widgets.Grid.StaticSection.StaticRow
addCell, getCell, getSection, getSizeOfCellGroup, getStyleName, hasSpannedCells, join, join, removeCell, setSection, setStyleName
-
-
-
-
Method Detail
-
setDefault
protected void setDefault(boolean isDefault)
Sets whether this is the default header row or not. Setting this value totrueresets the cell contents for this row to column header captions. Setting this value tofalsedoesn't update the cell contents.- Parameters:
isDefault-trueif this row should be default header row,falseotherwise
-
isDefault
public boolean isDefault()
Returns whether this is the default header row or not.- Returns:
trueif this row is the default header row,falseotherwise
-
createCell
protected Grid.HeaderCell createCell()
Description copied from class:Grid.StaticSection.StaticRowCreates a cell of a type that matches this row.- Specified by:
createCellin classGrid.StaticSection.StaticRow<Grid.HeaderCell>- Returns:
- a new cell
-
-