tableModel.deSelectInvoice(invoice);
}
});
component = checkBox;
} else {
component = new JbsLabel();
}
break;
case 4 :
component = super.getTableCellRendererComponent(table, value, column, row);
TableLayoutData rightLayout = new TableLayoutData();
rightLayout.setAlignment(Alignment.ALIGN_RIGHT);
component.setLayoutData(rightLayout);
break;
case 5 :
component = super.getTableCellRendererComponent(table, value, column, row);
TableLayoutData sumPayedLayout = new TableLayoutData();
sumPayedLayout.setAlignment(Alignment.ALIGN_RIGHT);
component.setLayoutData(sumPayedLayout);
break;
case 6:
final JbsButton btnShowInvoice = new JbsButton("Ansehen");
btnShowInvoice.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
FmInvoiceEdit fmInvoiceEdit = new FmInvoiceEdit();
fmInvoiceEdit.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
//tblInvoices.mustReload();
}
});
fmInvoiceEdit.showForm(DlgState.dsEdit, invoice);
}
});
component = btnShowInvoice;
break;
default:
JbsLabel label;
if (value != null) {
label = new JbsLabel(value.toString());
} else {
label = new JbsLabel("");
}
component=label;
//component = super.getTableCellRendererComponent(table, value, column, row);
break;
}