|
||||||||||
| 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()
|
Component |
getComponent()
Returns the component displayed in this cell. |
java.lang.String |
getHtml()
Returns the HTML content displayed in this cell. |
com.vaadin.ui.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. |
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. |
| 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 com.vaadin.ui.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 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||