add clearRows()

This commit is contained in:
Ben Fry
2013-04-30 19:23:51 -04:00
parent 625ce847e4
commit 9a6b1dcdb6
2 changed files with 6 additions and 0 deletions

View File

@@ -1666,6 +1666,11 @@ public class Table {
}
public void clearRows() {
setRowCount(0);
}
public void setRowCount(int newCount) {
if (newCount != rowCount) {
if (newCount > 1000000) {