- 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 money cell type.
Provided as a fallback to application specific types that don't provide t- Author:
- harald
-
-
Field Summary
-
Fields inherited from class org.tentackle.fx.table.type.AbstractTableCellType
editor
-
-
Constructor Summary
Constructors Constructor Description BMoneyTableCellType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.text.DecimalFormatgetFormat(FxTableCell<?,org.tentackle.common.BMoney> tableCell, org.tentackle.common.BMoney item)Gets the number format.-
Methods inherited from class org.tentackle.fx.table.type.NumberTableCellType
updateItem
-
Methods inherited from class org.tentackle.fx.table.type.AbstractTableCellType
getEditor, getEditorType, updateAlignment
-
-
-
-
Method Detail
-
getFormat
protected java.text.DecimalFormat getFormat(FxTableCell<?,org.tentackle.common.BMoney> tableCell, org.tentackle.common.BMoney item)
Description copied from class:NumberTableCellTypeGets the number format.- Overrides:
getFormatin classNumberTableCellType<org.tentackle.common.BMoney>- Parameters:
tableCell- the cellitem- the number- Returns:
- the format, null if default toString()
-
-