java.lang.Object
org.tentackle.fx.table.type.AbstractTableCellType<T>
org.tentackle.fx.table.type.AbstractDateTimeTableCellType<ZonedDateTime>
org.tentackle.fx.table.type.ZonedDateTimeTableCellType
- All Implemented Interfaces:
TableCellType<ZonedDateTime>
@TableCellTypeService(java.time.ZonedDateTime.class)
public class ZonedDateTimeTableCellType
extends AbstractDateTimeTableCellType<ZonedDateTime>
ZonedDateTime 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, ZonedDateTime item) Formats the item.voidupdateItem(FxTableCell<?, ZonedDateTime> tableCell, ZonedDateTime item) Updates the table cells view.voidupdateItem(FxTreeTableCell<?, ZonedDateTime> treeTableCell, ZonedDateTime item) Updates the treetable cells view.Methods inherited from class org.tentackle.fx.table.type.AbstractDateTimeTableCellType
getFormatterMethods inherited from class org.tentackle.fx.table.type.AbstractTableCellType
applyCaseConversion, getEditor, getEditorType, updateAlignment, updateAlignment
-
Constructor Details
-
ZonedDateTimeTableCellType
public ZonedDateTimeTableCellType()Creates the cell type forZonedDateTime.
-
-
Method Details
-
updateItem
Description copied from interface:TableCellTypeUpdates the table cells view.- Specified by:
updateItemin interfaceTableCellType<ZonedDateTime>- Overrides:
updateItemin classAbstractDateTimeTableCellType<ZonedDateTime>- Parameters:
tableCell- the table cell, never nullitem- the item for the cell, never null
-
updateItem
Description copied from interface:TableCellTypeUpdates the treetable cells view.- Specified by:
updateItemin interfaceTableCellType<ZonedDateTime>- Overrides:
updateItemin classAbstractDateTimeTableCellType<ZonedDateTime>- Parameters:
treeTableCell- the table cell, never nullitem- the item for the cell, never null
-
formatItem
Description copied from class:AbstractDateTimeTableCellTypeFormats the item.- Specified by:
formatItemin classAbstractDateTimeTableCellType<ZonedDateTime>- Parameters:
fmt- the formatteritem- the item- Returns:
- the formatted string
-