Lines Matching defs:rowCount
97 * <code>rowCount</code> and <code>columnCount</code> of
100 * @param rowCount the number of rows the table holds
105 public DefaultTableModel(int rowCount, int columnCount) {
106 this(newVector(columnCount), rowCount);
112 * and <code>rowCount</code> of <code>null</code>
119 * @param rowCount the number of rows the table holds
123 public DefaultTableModel(Vector columnNames, int rowCount) {
124 setDataVector(newVector(rowCount), columnNames);
130 * and <code>rowCount</code> of <code>null</code>
137 * @param rowCount the number of rows the table holds
141 public DefaultTableModel(Object[] columnNames, int rowCount) {
142 this(convertToVector(columnNames), rowCount);
309 * rows at index <code>rowCount</code> and greater are discarded. <p>
311 * @param rowCount the new number of rows
314 public void setNumRows(int rowCount) {
316 if (old == rowCount) {
319 dataVector.setSize(rowCount);
320 if (rowCount <= old) {
321 fireTableRowsDeleted(rowCount, old-1);
324 justifyRows(old, rowCount);
325 fireTableRowsInserted(old, rowCount-1);
333 * rows at index <code>rowCount</code> and greater are discarded. <p>
338 public void setRowCount(int rowCount) {
339 setNumRows(rowCount);