|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.ui.Grid.HeaderCell
public static class Grid.HeaderCell
Represents a header cell in Grid. Can be a merged cell for multiple columns.
| Constructor Summary | |
|---|---|
protected |
Grid.HeaderCell(Grid.HeaderRow row)
|
| Method Summary | |
|---|---|
protected com.vaadin.shared.ui.grid.GridStaticSectionState.CellState |
getCellState()
|
com.vaadin.shared.ui.grid.GridStaticCellType |
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. |
Grid.StaticSection.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. |
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(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. |
protected void |
writeDesign(org.jsoup.nodes.Element cellElement,
DesignContext designContext)
Writes the declarative design to the given table cell element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Grid.HeaderCell(Grid.HeaderRow row)
| Method Detail |
|---|
public Grid.StaticSection.StaticRow<?> getRow()
protected com.vaadin.shared.ui.grid.GridStaticSectionState.CellState getCellState()
public void setText(java.lang.String text)
text - a plain text captionpublic java.lang.String getText()
public java.lang.String getHtml()
public void setHtml(java.lang.String html)
html - the html to setpublic Component getComponent()
public void setComponent(Component component)
component - the component to setpublic com.vaadin.shared.ui.grid.GridStaticCellType getCellType()
public java.lang.String getStyleName()
public void setStyleName(java.lang.String styleName)
styleName - the style name to set or null to not use any style
name
protected void writeDesign(org.jsoup.nodes.Element cellElement,
DesignContext designContext)
cellElement - Element to write design todesignContext - the design context
protected void readDesign(org.jsoup.nodes.Element cellElement,
DesignContext designContext)
cellElement - Element to read design fromdesignContext - the design context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||