|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.ui.grid.GridFooter.FooterCell
public class GridFooter.FooterCell
A single cell in a grid Footer row. Has a textual caption.
| Constructor Summary | |
|---|---|
GridFooter.FooterCell()
|
|
| Method Summary | |
|---|---|
int |
getColspan()
Returns the amount of columns the cell spans. |
java.lang.String |
getHtml()
Returns the html inside the cell. |
protected com.vaadin.client.ui.grid.GridStaticSection<?> |
getSection()
|
java.lang.String |
getText()
Returns the text displayed in this cell. |
com.vaadin.shared.ui.grid.GridStaticCellType |
getType()
Returns the type of the cell. |
Widget |
getWidget()
Returns the widget in the cell. |
void |
setColspan(int colspan)
Sets the amount of columns the cell spans. |
void |
setHtml(java.lang.String html)
Sets the content of the cell to the provided html. |
protected void |
setSection(com.vaadin.client.ui.grid.GridStaticSection<?> section)
|
void |
setText(java.lang.String text)
Sets the text displayed in this cell. |
void |
setWidget(Widget widget)
Set widget as the content of the cell. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridFooter.FooterCell()
| Method Detail |
|---|
public void setText(java.lang.String text)
text - a plain text captionpublic java.lang.String getText()
protected com.vaadin.client.ui.grid.GridStaticSection<?> getSection()
protected void setSection(com.vaadin.client.ui.grid.GridStaticSection<?> section)
public int getColspan()
public void setColspan(int colspan)
colspan - the colspan to setpublic java.lang.String getHtml()
java.lang.IllegalStateException - if trying to retrive HTML from a cell with a type other
than Type#HTML.public void setHtml(java.lang.String html)
Type#HTML.
html - The html content of the cellpublic Widget getWidget()
java.lang.IllegalStateException - if the cell is not Type#WIDGETpublic void setWidget(Widget widget)
Type#WIDGET. All previous content is discarded.
widget - The widget to add to the cell. Should not be previously
attached anywhere (widget.getParent == null).public com.vaadin.shared.ui.grid.GridStaticCellType getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||