java.lang.Object | ||
↳ | com.google.gwt.cell.client.AbstractCell<C> | |
↳ | com.google.gwt.cell.client.AbstractSafeHtmlCell<C> |
Known Direct Subclasses |
A superclass for Cell
s that render or escape a String argument as
HTML.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct an AbstractSafeHtmlCell using a given
SafeHtmlRenderer
that will consume a given set of events. | |||||||||||
Construct an AbstractSafeHtmlCell using a given
SafeHtmlRenderer
that will consume a given set of events. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the
SafeHtmlRenderer used by this cell. | |||||||||||
Render a cell as HTML into a
SafeHtmlBuilder , suitable for passing
to setInnerHTML(String) on a container element. |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Render the cell contents after they have been converted to
SafeHtml
form. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.cell.client.AbstractCell
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gwt.cell.client.Cell
|
Construct an AbstractSafeHtmlCell using a given SafeHtmlRenderer
that will consume a given set of events.
renderer | a SafeHtmlRenderer |
---|---|
consumedEvents | a varargs list of event names |
Construct an AbstractSafeHtmlCell using a given SafeHtmlRenderer
that will consume a given set of events.
renderer | a SafeHtmlRenderer |
---|---|
consumedEvents | a Set of event names |
Return the SafeHtmlRenderer
used by this cell.
SafeHtmlRenderer
instance
Render a cell as HTML into a SafeHtmlBuilder
, suitable for passing
to setInnerHTML(String)
on a container element.
Note: If your cell contains natively focusable elements, such as buttons or input elements, be sure to set the tabIndex to -1 so that they do not steal focus away from the containing widget.
context | the Context of the cell |
---|---|
data | the cell value to be rendered |
sb | the SafeHtmlBuilder to be written to
|
Render the cell contents after they have been converted to SafeHtml
form.
context | the original context to render |
---|---|
data | a SafeHtml string |
sb | the SafeHtmlBuilder to be written to
|