public class

TextCell

extends AbstractSafeHtmlCell<C>
java.lang.Object
   ↳ com.google.gwt.cell.client.AbstractCell<C>
     ↳ com.google.gwt.cell.client.AbstractSafeHtmlCell<C>
       ↳ com.google.gwt.cell.client.TextCell

Class Overview

A Cell used to render text.

Summary

Public Constructors
TextCell()
Constructs a TextCell that uses a SimpleSafeHtmlRenderer to render its text.
TextCell(SafeHtmlRenderer<String> renderer)
Constructs a TextCell that uses the provided SafeHtmlRenderer to render its text.
Public Methods
void render(Cell.Context context, SafeHtml value, SafeHtmlBuilder sb)
Render the cell contents after they have been converted to SafeHtml form.
[Expand]
Inherited Methods
From class com.google.gwt.cell.client.AbstractSafeHtmlCell
From class com.google.gwt.cell.client.AbstractCell
From class java.lang.Object
From interface com.google.gwt.cell.client.Cell

Public Constructors

public TextCell ()

Constructs a TextCell that uses a SimpleSafeHtmlRenderer to render its text.

public TextCell (SafeHtmlRenderer<String> renderer)

Constructs a TextCell that uses the provided SafeHtmlRenderer to render its text.

Parameters
renderer a SafeHtmlRenderer instance

Public Methods

public void render (Cell.Context context, SafeHtml value, SafeHtmlBuilder sb)

Render the cell contents after they have been converted to SafeHtml form.

Parameters
context the original context to render
value a SafeHtml string
sb the SafeHtmlBuilder to be written to