java.lang.Object
org.tentackle.fx.table.type.AbstractTableCellType<T>
org.tentackle.fx.table.type.NumberTableCellType<org.tentackle.common.BMoney>
org.tentackle.fx.table.type.BMoneyTableCellType
- All Implemented Interfaces:
TableCellType<org.tentackle.common.BMoney>
@TableCellTypeService(org.tentackle.common.BMoney.class)
public class BMoneyTableCellType
extends NumberTableCellType<org.tentackle.common.BMoney>
A
BMoney 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 DecimalFormatgetFormat(TableColumnConfiguration<?, org.tentackle.common.BMoney> config, org.tentackle.common.BMoney item) Gets the number format.Methods inherited from class org.tentackle.fx.table.type.NumberTableCellType
updateItem, updateItemMethods inherited from class org.tentackle.fx.table.type.AbstractTableCellType
applyCaseConversion, getEditor, getEditorType, updateAlignment, updateAlignment
-
Constructor Details
-
BMoneyTableCellType
public BMoneyTableCellType()Creates the cell type forBMoney.
-
-
Method Details
-
getFormat
protected DecimalFormat getFormat(TableColumnConfiguration<?, org.tentackle.common.BMoney> config, org.tentackle.common.BMoney item) Description copied from class:NumberTableCellTypeGets the number format.- Overrides:
getFormatin classNumberTableCellType<org.tentackle.common.BMoney>- Parameters:
config- the column configurationitem- the number- Returns:
- the format, null if default toString()
-