Package com.google.gwt.cell.client
Class DateCell
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.gwt.cell.client.Cell
Cell.Context
-
Constructor Summary
ConstructorDescriptionDateCell()
Construct a newDateCell
using the formatDateTimeFormat.PredefinedFormat.DATE_FULL
and aSimpleSafeHtmlRenderer
.DateCell
(DateTimeFormat format) Construct a newDateCell
using the specified format and aSimpleSafeHtmlRenderer
.DateCell
(DateTimeFormat format, TimeZone timeZone) Construct a newDateCell
using the specified format and time zone.DateCell
(DateTimeFormat format, SafeHtmlRenderer<String> renderer) Construct a newDateCell
using the specified format and the givenSafeHtmlRenderer
.DateCell
(DateTimeFormat format, SafeHtmlRenderer<String> renderer, TimeZone timeZone) Construct a newDateCell
using the specified format, the givenSafeHtmlRenderer
, and the specified time zone.DateCell
(SafeHtmlRenderer<String> renderer) Construct a newDateCell
using the formatDateTimeFormat.PredefinedFormat.DATE_FULL
and aSimpleSafeHtmlRenderer
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(Cell.Context context, Date value, SafeHtmlBuilder sb) Render a cell as HTML into aSafeHtmlBuilder
, suitable for passing toElement.setInnerHTML(String)
on a container element.Methods inherited from class com.google.gwt.cell.client.AbstractCell
dependsOnSelection, getConsumedEvents, handlesSelection, isEditing, onBrowserEvent, onEnterKeyDown, resetFocus, setValue
-
Constructor Details
-
DateCell
public DateCell()Construct a newDateCell
using the formatDateTimeFormat.PredefinedFormat.DATE_FULL
and aSimpleSafeHtmlRenderer
.
-
-
Method Details