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
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDateFormat(DateFormat dateFormat) voidsetFormatString(String formatString) 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 date and time format
-
setFormatString
- Specified by:
setFormatStringin interfaceDataGrid.HasFormatString- Parameters:
formatString- the format string describing the date and time format which will be used to createDateFormatinstance.- See Also:
-
getDateFormat
- Returns:
- the instance of
DateFormatwhich is used to present dates
-
setDateFormat
- Parameters:
dateFormat- the instance ofDateFormatwith which to present dates
-