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 Modifier and Type Method Description protected Grid.HeaderCell
createCell()
Creates a cell of a type that matches this row.
boolean
isDefault()
Returns whether this is the default header row or not.
protected void
setDefault(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 to
true
resets the cell contents for this row to column header captions. Setting this value tofalse
doesn't update the cell contents.Parameters:
isDefault
-true
if this row should be default header row,false
otherwise
-
isDefault
public boolean isDefault()
Returns whether this is the default header row or not.
Returns:
true
if this row is the default header row,false
otherwise
-
createCell
protected Grid.HeaderCell createCell()
Description copied from class:
Grid.StaticSection.StaticRow
Creates a cell of a type that matches this row.
Specified by:
createCell
in classGrid.StaticSection.StaticRow<Grid.HeaderCell>
Returns:
a new cell
-
-