public class Footer.Row.Cell extends Object implements FooterCell
| Modifier | Constructor and Description |
|---|---|
protected |
Cell()
Creates a new footer cell.
|
| Modifier and Type | Method and Description |
|---|---|
protected SectionState.CellState |
getCellState()
Returns the shared state of this cell.
|
GridStaticCellType |
getCellType()
Returns the type of content stored in this cell.
|
String |
getColumnId() |
Component |
getComponent()
Returns the component displayed in this cell.
|
String |
getHtml()
Returns the HTML content displayed in this cell.
|
StaticSection.StaticRow<?> |
getRow()
Gets the row where this cell is.
|
String |
getStyleName()
Returns the custom style name for this cell.
|
String |
getText()
Returns the textual caption of 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 textual caption of this cell.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCellType, getColumnId, getComponent, getHtml, getStyleName, getText, setComponent, setHtml, setStyleName, setTextpublic String getColumnId()
public StaticSection.StaticRow<?> getRow()
protected SectionState.CellState getCellState()
public void setText(String text)
text - a plain text caption, not nullpublic String getText()
public String getHtml()
public void setHtml(String html)
html - the html to set, not nullpublic Component getComponent()
public void setComponent(Component component)
component - the component to set, not nullpublic 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 readDesign(org.jsoup.nodes.Element cellElement,
DesignContext designContext)
cellElement - Element to read design fromdesignContext - the design contextCopyright © 2017 Vaadin Ltd. All rights reserved.