public static interface DataGrid.StaticCell
Modifier and Type | Method and Description |
---|---|
DataGrid.DataGridStaticCellType |
getCellType()
Returns the type of content stored in this cell.
|
Component |
getComponent()
Returns the component displayed in this cell.
|
java.lang.String |
getHtml()
Returns the HTML content displayed in this cell.
|
DataGrid.StaticRow<?> |
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.
|
java.lang.String getStyleName()
void setStyleName(java.lang.String styleName)
styleName
- the style name to set or null to not use any style nameDataGrid.DataGridStaticCellType getCellType()
Component getComponent()
void setComponent(Component component)
component
- the component to setjava.lang.String getHtml()
void setHtml(java.lang.String html)
html
- the html to setjava.lang.String getText()
void setText(java.lang.String text)
text
- a plain text captionDataGrid.StaticRow<?> getRow()