com.vaadin.ui.components.grid
Class GridHeader.HeaderCell

java.lang.Object
  extended by com.vaadin.ui.components.grid.GridHeader.HeaderCell
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
GridHeader

public class GridHeader.HeaderCell
extends java.lang.Object

See Also:
Serialized Form

Constructor Summary
protected GridHeader.HeaderCell(GridHeader.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.components.grid.GridStaticSection.StaticRow<?> getRow()
          Gets the row where this cell is.
 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 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

GridHeader.HeaderCell

protected GridHeader.HeaderCell(GridHeader.HeaderRow row)
Method Detail

getRow

public com.vaadin.ui.components.grid.GridStaticSection.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


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