java.lang.Object
org.tentackle.fx.table.type.AbstractTableCellType<T>
org.tentackle.fx.table.type.AbstractDateTimeTableCellType<T>
org.tentackle.fx.table.type.DateTableCellType<T>
- All Implemented Interfaces:
TableCellType<T>
@TableCellTypeService(java.util.Date.class)
public class DateTableCellType<T extends Date>
extends AbstractDateTimeTableCellType<T>
Date cell type.Applies to java.util.Date, java.sql.Date and org.tentackle.common.Date.
- Author:
- harald
-
Field Summary
Fields inherited from class org.tentackle.fx.table.type.AbstractTableCellType
editor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringformatItem(DateTimeFormatter fmt, T item) Formats the item.Methods inherited from class org.tentackle.fx.table.type.AbstractDateTimeTableCellType
getFormatter, updateItem, updateItemMethods inherited from class org.tentackle.fx.table.type.AbstractTableCellType
applyCaseConversion, getEditor, getEditorType, updateAlignment, updateAlignment
-
Constructor Details
-
DateTableCellType
public DateTableCellType()Creates the cell type forDate.
-
-
Method Details
-
formatItem
Description copied from class:AbstractDateTimeTableCellTypeFormats the item.- Specified by:
formatItemin classAbstractDateTimeTableCellType<T extends Date>- Parameters:
fmt- the formatteritem- the item- Returns:
- the formatted string
-