public static interface DataGrid.NumberRenderer extends DataGrid.Renderer, DataGrid.HasNullRepresentation
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFormatString() |
java.util.Locale |
getLocale() |
java.text.NumberFormat |
getNumberFormat() |
void |
setFormatString(java.lang.String formatString) |
void |
setLocale(java.util.Locale locale)
Sets the locale in which to present numbers.
|
void |
setNumberFormat(java.text.NumberFormat numberFormat) |
getNullRepresentation, setNullRepresentation
java.util.Locale getLocale()
void setLocale(java.util.Locale locale)
locale
- the locale in which to present numbersjava.lang.String getFormatString()
void setFormatString(java.lang.String formatString)
formatString
- the format string with which to format the numberjava.text.NumberFormat getNumberFormat()
NumberFormat
which is used to present numbersvoid setNumberFormat(java.text.NumberFormat numberFormat)
numberFormat
- the instance of NumberFormat
with which to present numbers