public void setValueAt(Object aValue, int rowIndex, int columnIndex) { PackageTemplateTableItem item = data.elementAt(rowIndex); switch (columnIndex) { case 0: item.setIncluded((Boolean) aValue); } }
public Vector<String> getSelectedObjects() { Vector<String> result = new Vector<String>(); for (PackageTemplateTableItem item : data) { if (item.isIncluded()) { result.add(item.getName()); } } return result; }