public static interface DataGrid.DateRenderer extends DataGrid.Renderer, DataGrid.HasNullRepresentation
| Modifier and Type | Method and Description |
|---|---|
java.text.DateFormat |
getDateFormat() |
java.lang.String |
getFormatString() |
java.util.Locale |
getLocale() |
void |
setDateFormat(java.text.DateFormat dateFormat) |
void |
setFormatString(java.lang.String formatString) |
void |
setLocale(java.util.Locale locale)
Sets the locale in which to present dates.
|
getNullRepresentation, setNullRepresentationjava.util.Locale getLocale()
void setLocale(java.util.Locale locale)
locale - the locale in which to present datesjava.lang.String getFormatString()
void setFormatString(java.lang.String formatString)
formatString - the pattern describing the date and time format
which will be used to create DateFormat instance.java.text.DateFormat getDateFormat()
DateFormat which is used to present datesvoid setDateFormat(java.text.DateFormat dateFormat)
dateFormat - the instance of DateFormat with which to present dates