java.lang.Object
org.tentackle.fx.table.type.AbstractTableCellType<T>
org.tentackle.fx.table.type.AbstractDateTimeTableCellType<Timestamp>
org.tentackle.fx.table.type.TimestampTableCellType
- All Implemented Interfaces:
TableCellType<Timestamp>
@TableCellTypeService(java.sql.Timestamp.class)
public class TimestampTableCellType
extends AbstractDateTimeTableCellType<Timestamp>
Timestamp cell type.Applies to java.sql.Timestamp and org.tentackle.common.Timestamp.
- 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, Timestamp 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
-
TimestampTableCellType
public TimestampTableCellType()Creates the cell type forTimestamp.
-
-
Method Details
-
formatItem
Description copied from class:AbstractDateTimeTableCellTypeFormats the item.- Specified by:
formatItemin classAbstractDateTimeTableCellType<Timestamp>- Parameters:
fmt- the formatteritem- the item- Returns:
- the formatted string
-