public interface HeaderRow extends Serializable
| Modifier and Type | Method and Description |
|---|---|
HeaderCell |
getCell(Grid.Column<?,?> column)
Returns the cell on this row corresponding to the given column.
|
HeaderCell |
getCell(String columnId)
Returns the cell on this row corresponding to the given column id.
|
Collection<? extends Component> |
getComponents()
Gets a collection of all components inside this row.
|
String |
getStyleName()
Returns the custom style name for this row.
|
HeaderCell |
join(Grid.Column<?,?>... columnsToMerge)
Merges cells corresponding to the given columns in the row.
|
HeaderCell |
join(HeaderCell... cellsToMerge)
Merges column cells in the row.
|
HeaderCell |
join(Set<HeaderCell> cellsToMerge)
Merges column cells in the row.
|
HeaderCell |
join(String... columnIdsToMerge)
Merges cells corresponding to the given column ids in the row.
|
void |
setStyleName(String styleName)
Sets a custom style name for this row.
|
HeaderCell getCell(String columnId)
columnId - the id of the column whose header cell to get, not nullIllegalArgumentException - if there is no such column in the gridGrid.Column.setId(String)HeaderCell getCell(Grid.Column<?,?> column)
column - the column whose header cell to get, not nullIllegalArgumentException - if there is no such column in the gridHeaderCell join(Set<HeaderCell> cellsToMerge)
cellsToMerge - the cells which should be merged. The cells should not be
merged to any other cell set.join(HeaderCell...),
setCaptionHeaderCell join(HeaderCell... cellsToMerge)
cellsToMerge - the cells which should be merged. The cells should not be
merged to any other cell set.join(Set),
setCaptionHeaderCell join(Grid.Column<?,?>... columnsToMerge)
columnsToMerge - the columns of the cells that should be merged. The cells
should not be merged to any other cell set.join(Set),
setCaptionHeaderCell join(String... columnIdsToMerge)
columnIdsToMerge - the ids of the columns of the cells that should be merged. The
cells should not be merged to any other cell set.join(Set),
setCaption,
Grid.Column.setId(String)String getStyleName()
void setStyleName(String styleName)
styleName - the style name to set or null to not use any style nameCollection<? extends Component> getComponents()
The order of the components in the returned collection is not specified.
Copyright © 2020 Vaadin Ltd. All rights reserved.