Package io.jmix.ui.component
Interface DataGrid.NumberRenderer
- All Superinterfaces:
DataGrid.HasFormatString
,DataGrid.HasLocale
,DataGrid.HasNullRepresentation
,DataGrid.Renderer
- All Known Implementing Classes:
NumberRendererImpl
public static interface DataGrid.NumberRenderer
extends DataGrid.Renderer, DataGrid.HasNullRepresentation, DataGrid.HasLocale, DataGrid.HasFormatString
A renderer for presenting number values.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setFormatString
(String formatString) void
setNumberFormat
(NumberFormat numberFormat) Methods inherited from interface io.jmix.ui.component.DataGrid.HasLocale
getLocale, setLocale
Methods inherited from interface io.jmix.ui.component.DataGrid.HasNullRepresentation
getNullRepresentation, setNullRepresentation
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
getFormatString
- Specified by:
getFormatString
in interfaceDataGrid.HasFormatString
- Returns:
- the format string describing the number format
-
setFormatString
- Specified by:
setFormatString
in interfaceDataGrid.HasFormatString
- Parameters:
formatString
- the format string describing the number format which will be used to createNumberFormat
instance.- See Also:
-
getNumberFormat
- Returns:
- the instance of
NumberFormat
which is used to present numbers
-
setNumberFormat
- Parameters:
numberFormat
- the instance ofNumberFormat
with which to present numbers
-