java.lang.Object | ||
↳ | com.google.gwt.cell.client.AbstractCell<C> | |
↳ | com.google.gwt.cell.client.DateCell |
A Cell
used to render Dates.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new
DateCell using the specified format and a
SimpleSafeHtmlRenderer . | |||||||||||
Construct a new
DateCell using the specified format and the given
SafeHtmlRenderer . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Render a cell as HTML into a
SafeHtmlBuilder , suitable for passing
to setInnerHTML(String) on a container element. |
[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 a new DateCell
using the format
DATE_FULL
and a SimpleSafeHtmlRenderer
.
Construct a new DateCell
using the format
DATE_FULL
and a SimpleSafeHtmlRenderer
.
renderer | a non-null SafeHtmlRenderer used to render the
formatted date as HTML
|
---|
Construct a new DateCell
using the specified format and a
SimpleSafeHtmlRenderer
.
format | the DateTimeFormat used to render the date
|
---|
Construct a new DateCell
using the specified format and the given
SafeHtmlRenderer
.
format | the DateTimeFormat used to render the date |
---|---|
renderer | a non-null SafeHtmlRenderer used to render the
formatted date
|
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 |
---|---|
value | the cell value to be rendered |
sb | the SafeHtmlBuilder to be written to
|