Package io.jmix.ui.component
Interface DataGrid.DateRenderer
- All Superinterfaces:
DataGrid.HasFormatString
,DataGrid.HasLocale
,DataGrid.HasNullRepresentation
,DataGrid.Renderer
- All Known Implementing Classes:
DateRendererImpl
public static interface DataGrid.DateRenderer
extends DataGrid.Renderer, DataGrid.HasNullRepresentation, DataGrid.HasLocale, DataGrid.HasFormatString
A renderer for presenting date values.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setDateFormat
(DateFormat dateFormat) void
setFormatString
(String formatString) 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 date and time format
-
setFormatString
- Specified by:
setFormatString
in interfaceDataGrid.HasFormatString
- Parameters:
formatString
- the format string describing the date and time format which will be used to createDateFormat
instance.- See Also:
-
getDateFormat
- Returns:
- the instance of
DateFormat
which is used to present dates
-
setDateFormat
- Parameters:
dateFormat
- the instance ofDateFormat
with which to present dates
-