private static final long serialVersionUID = 1L;
public void actionPerformed(ActionEvent arg0) {
for (int i=0; i<getDunningWizard().getMaxDunningLevel(); i++) {
TblMInvoicesForDunning model = (TblMInvoicesForDunning)getDunningWizard().getInvoicePanels().get(i).getTblInvoices().getModel();
model.selectAll();
}
}
});
mainRow.add(btnSelectAll);
btnSelectNone = new JbsButton(JbsL10N.getString("Generic.selectNone"));
btnSelectNone.setAlignmentHorizontal(Alignment.CENTER);
//btnSelectNone.setWidth(new JbsExtent(80));
btnSelectNone.addActionListener(new ActionListener() {
private static final long serialVersionUID = 1L;
public void actionPerformed(ActionEvent arg0) {
for (int i=0; i<getDunningWizard().getMaxDunningLevel(); i++) {
TblMInvoicesForDunning model = (TblMInvoicesForDunning)getDunningWizard().getInvoicePanels().get(i).getTblInvoices().getModel();
model.selectNone();
}
}
});
mainRow.add(btnSelectNone);
btnSwapSelection = new JbsButton(JbsL10N.getString("Generic.swapSelection"));
btnSwapSelection.setAlignmentHorizontal(Alignment.CENTER);
//btnSwapSelection.setWidth(new JbsExtent(80));
btnSwapSelection.addActionListener(new ActionListener() {
private static final long serialVersionUID = 1L;
public void actionPerformed(ActionEvent arg0) {
for (int i=0; i<getDunningWizard().getMaxDunningLevel(); i++) {
TblMInvoicesForDunning model = (TblMInvoicesForDunning)getDunningWizard().getInvoicePanels().get(i).getTblInvoices().getModel();
model.swapSelection();
}
}
});
mainRow.add(btnSwapSelection);