protected static class AbstractDataGrid.FooterCellImpl extends AbstractDataGrid.AbstractStaticCellImpl implements DataGrid.FooterCell
Modifier and Type | Field and Description |
---|---|
protected com.vaadin.ui.components.grid.Footer.Row.Cell |
gridCell |
component, row
Constructor and Description |
---|
FooterCellImpl(DataGrid.FooterRow row,
com.vaadin.ui.components.grid.Footer.Row.Cell gridCell) |
Modifier and Type | Method and Description |
---|---|
DataGrid.DataGridStaticCellType |
getCellType()
Returns the type of content stored in this cell.
|
java.lang.String |
getHtml()
Returns the HTML content displayed in this cell.
|
DataGrid.FooterRow |
getRow()
Gets the row where this cell is.
|
java.lang.String |
getStyleName()
Returns the custom style name for this cell.
|
java.lang.String |
getText()
Returns the text displayed in this cell.
|
void |
setComponent(Component component)
Sets the component displayed in this cell.
|
void |
setHtml(java.lang.String html)
Sets the HTML content displayed in this cell.
|
void |
setStyleName(java.lang.String styleName)
Sets a custom style name for this cell.
|
void |
setText(java.lang.String text)
Sets the text displayed in this cell.
|
getComponent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComponent
public FooterCellImpl(DataGrid.FooterRow row, com.vaadin.ui.components.grid.Footer.Row.Cell gridCell)
public DataGrid.FooterRow getRow()
DataGrid.StaticCell
getRow
in interface DataGrid.StaticCell
getRow
in class AbstractDataGrid.AbstractStaticCellImpl
@Nullable public java.lang.String getStyleName()
DataGrid.StaticCell
getStyleName
in interface DataGrid.StaticCell
public void setStyleName(@Nullable java.lang.String styleName)
DataGrid.StaticCell
setStyleName
in interface DataGrid.StaticCell
styleName
- the style name to set or null to not use any style namepublic DataGrid.DataGridStaticCellType getCellType()
DataGrid.StaticCell
getCellType
in interface DataGrid.StaticCell
public void setComponent(Component component)
DataGrid.StaticCell
setComponent
in interface DataGrid.StaticCell
setComponent
in class AbstractDataGrid.AbstractStaticCellImpl
component
- the component to set@Nullable public java.lang.String getHtml()
DataGrid.StaticCell
getHtml
in interface DataGrid.StaticCell
public void setHtml(java.lang.String html)
DataGrid.StaticCell
setHtml
in interface DataGrid.StaticCell
html
- the html to set@Nullable public java.lang.String getText()
DataGrid.StaticCell
getText
in interface DataGrid.StaticCell
public void setText(java.lang.String text)
DataGrid.StaticCell
setText
in interface DataGrid.StaticCell
text
- a plain text caption