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