com.vaadin.ui
Class Grid.FooterCell

java.lang.Object
  extended by com.vaadin.ui.Grid.FooterCell
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Grid

public static class Grid.FooterCell
extends java.lang.Object

Represents a footer cell in Grid.

See Also:
Serialized Form

Constructor Summary
protected Grid.FooterCell(Grid.FooterRow 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

Grid.FooterCell

protected Grid.FooterCell(Grid.FooterRow row)
Method Detail

getRow

public com.vaadin.ui.Grid.StaticSection.StaticRow<?> getRow()
Gets the row where this cell is.

Returns:
row for this cell

getCellState

protected com.vaadin.shared.ui.grid.GridStaticSectionState.CellState getCellState()

setText

public void setText(java.lang.String text)
Sets the text displayed in this cell.

Parameters:
text - a plain text caption

getText

public java.lang.String getText()
Returns the text displayed in this cell.

Returns:
the plain text caption

getHtml

public java.lang.String getHtml()
Returns the HTML content displayed in this cell.

Returns:
the html

setHtml

public void setHtml(java.lang.String html)
Sets the HTML content displayed in this cell.

Parameters:
html - the html to set

getComponent

public Component getComponent()
Returns the component displayed in this cell.

Returns:
the component

setComponent

public void setComponent(Component component)
Sets the component displayed in this cell.

Parameters:
component - the component to set

getStyleName

public java.lang.String getStyleName()
Returns the custom style name for this cell.

Returns:
the style name or null if no style name has been set

setStyleName

public void setStyleName(java.lang.String styleName)
Sets a custom style name for this cell.

Parameters:
styleName - the style name to set or null to not use any style name


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.