Package com.google.gwt.cell.client
Class NumberCell
A
Cell
used to render formatted numbers.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.gwt.cell.client.Cell
Cell.Context
-
Constructor Summary
ConstructorDescriptionConstruct a newNumberCell
using decimal format and aSimpleSafeHtmlRenderer
.NumberCell
(NumberFormat format) NumberCell
(NumberFormat format, SafeHtmlRenderer<String> renderer) NumberCell
(SafeHtmlRenderer<String> renderer) Construct a newNumberCell
using decimal format and the givenSafeHtmlRenderer
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(Cell.Context context, Number 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
-
NumberCell
public NumberCell()Construct a newNumberCell
using decimal format and aSimpleSafeHtmlRenderer
. -
NumberCell
- Parameters:
format
- theNumberFormat
used to render the number
-
-
Method Details