/* * @see IDataSetViewer#getRowCount() */ public int getRowCount() { return _typedModel.getRowCount(); }
/* * @see BaseDataSetViewerDestination#allRowsAdded() */ protected void allRowsAdded() { _typedModel.fireTableStructureChanged(); _table.initColWidths(); }
/* * @see BaseDataSetViewerDestination#addRow(Object[]) */ protected void addRow(Object[] row) { _typedModel.addRow(row); }
/* * @see BaseDataSetViewerDestination#getRow(row) */ protected Object[] getRow(int row) { Object values[] = new Object[_typedModel.getColumnCount()]; for (int i = 0; i < values.length; i++) values[i] = _typedModel.getValueAt(row, i); return values; }
public void clear() { _typedModel.clear(); _typedModel.fireTableDataChanged(); }