In order to provide the correct cell factory or cell factory with correct converter I need to know the cell's value java type. Can't figure out how to access this information, please help
@FXML
private TableColumn<PropertyAndValue, Object> propertyValueColumn;
...
propertyValueColumn.setCellFactory(new Callback<TableColumn<PropertyAndValue, Object>, TableCell<PropertyAndValue, Object>>() {
@Override
public TableCell<PropertyAndValue, Object> call(TableColumn<PropertyAndValue, Object> param) {
Class cellValueClass = ??? // How to get value class ?
return new AcceptOnExitTableCell<PropertyAndValue, Object>();
}
});