public static class Grid.FooterCell extends Object
Modifier | Constructor and Description |
---|---|
protected |
FooterCell(Grid.FooterRow row) |
Modifier and Type | Method and Description |
---|---|
protected GridStaticSectionState.CellState |
getCellState() |
GridStaticCellType |
getCellType()
Returns the type of content stored in this cell.
|
Component |
getComponent()
Returns the component displayed in this cell.
|
String |
getHtml()
Returns the HTML content displayed in this cell.
|
Grid.StaticSection.StaticRow<?> |
getRow()
Gets the row where this cell is.
|
String |
getStyleName()
Returns the custom style name for this cell.
|
String |
getText()
Returns the text displayed in this cell.
|
protected void |
readDesign(org.jsoup.nodes.Element cellElement,
DesignContext designContext)
Reads the declarative design from the given table cell element.
|
void |
setComponent(Component component)
Sets the component displayed in this cell.
|
void |
setHtml(String html)
Sets the HTML content displayed in this cell.
|
void |
setStyleName(String styleName)
Sets a custom style name for this cell.
|
void |
setText(String text)
Sets the text displayed in this cell.
|
protected void |
writeDesign(org.jsoup.nodes.Element cellElement,
DesignContext designContext)
Writes the declarative design to the given table cell element.
|
protected FooterCell(Grid.FooterRow row)
public Grid.StaticSection.StaticRow<?> getRow()
protected GridStaticSectionState.CellState getCellState()
public void setText(String text)
text
- a plain text captionpublic String getText()
public String getHtml()
public void setHtml(String html)
html
- the html to setpublic Component getComponent()
public void setComponent(Component component)
component
- the component to setpublic GridStaticCellType getCellType()
public String getStyleName()
public void setStyleName(String styleName)
styleName
- the style name to set or null to not use any style
nameprotected void writeDesign(org.jsoup.nodes.Element cellElement, DesignContext designContext)
cellElement
- Element to write design todesignContext
- the design contextprotected void readDesign(org.jsoup.nodes.Element cellElement, DesignContext designContext)
cellElement
- Element to read design fromdesignContext
- the design contextCopyright © 2019 Vaadin Ltd. All rights reserved.