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
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidsetFormatString(String formatString) voidsetNumberFormat(NumberFormat numberFormat) Methods inherited from interface io.jmix.ui.component.DataGrid.HasLocale
getLocale, setLocaleMethods inherited from interface io.jmix.ui.component.DataGrid.HasNullRepresentation
getNullRepresentation, setNullRepresentation
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
getFormatString
- Specified by:
getFormatStringin interfaceDataGrid.HasFormatString- Returns:
- the format string describing the number format
-
setFormatString
- Specified by:
setFormatStringin interfaceDataGrid.HasFormatString- Parameters:
formatString- the format string describing the number format which will be used to createNumberFormatinstance.- See Also:
-
getNumberFormat
- Returns:
- the instance of
NumberFormatwhich is used to present numbers
-
setNumberFormat
- Parameters:
numberFormat- the instance ofNumberFormatwith which to present numbers
-