protected abstract static class AbstractDataGrid.AbstractStaticRowImp<T extends DataGrid.StaticCell> extends java.lang.Object implements DataGrid.StaticRow<T>
Modifier and Type | Field and Description |
---|---|
protected AbstractDataGrid |
dataGrid |
protected com.vaadin.ui.components.grid.StaticSection.StaticRow<?> |
gridRow |
Constructor and Description |
---|
AbstractStaticRowImp(AbstractDataGrid dataGrid,
com.vaadin.ui.components.grid.StaticSection.StaticRow<?> gridRow) |
Modifier and Type | Method and Description |
---|---|
T |
getCell(java.lang.String columnId)
Returns the cell for the given column id on this row.
|
protected abstract T |
getCellInternal(java.lang.String columnId) |
com.vaadin.ui.components.grid.StaticSection.StaticRow<?> |
getGridRow() |
java.lang.String |
getStyleName()
Returns the custom style name for this row.
|
T |
join(java.lang.String... columnIds)
Merges columns cells in a row.
|
protected abstract T |
joinInternal(java.lang.String... columnIds) |
void |
setStyleName(java.lang.String styleName)
Sets a custom style name for this row.
|
protected AbstractDataGrid dataGrid
protected com.vaadin.ui.components.grid.StaticSection.StaticRow<?> gridRow
public AbstractStaticRowImp(AbstractDataGrid dataGrid, com.vaadin.ui.components.grid.StaticSection.StaticRow<?> gridRow)
@Nullable public java.lang.String getStyleName()
DataGrid.StaticRow
getStyleName
in interface DataGrid.StaticRow<T extends DataGrid.StaticCell>
public void setStyleName(@Nullable java.lang.String styleName)
DataGrid.StaticRow
setStyleName
in interface DataGrid.StaticRow<T extends DataGrid.StaticCell>
styleName
- the style name to set or
null to not use any style namepublic T join(java.lang.String... columnIds)
DataGrid.StaticRow
join
in interface DataGrid.StaticRow<T extends DataGrid.StaticCell>
columnIds
- the ids of columns to mergeprotected abstract T joinInternal(java.lang.String... columnIds)
@Nullable public T getCell(java.lang.String columnId)
DataGrid.StaticRow
getCell
in interface DataGrid.StaticRow<T extends DataGrid.StaticCell>
columnId
- column idprotected abstract T getCellInternal(java.lang.String columnId)
public com.vaadin.ui.components.grid.StaticSection.StaticRow<?> getGridRow()