mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
add clearRows()
This commit is contained in:
@@ -1666,6 +1666,11 @@ public class Table {
|
||||
}
|
||||
|
||||
|
||||
public void clearRows() {
|
||||
setRowCount(0);
|
||||
}
|
||||
|
||||
|
||||
public void setRowCount(int newCount) {
|
||||
if (newCount != rowCount) {
|
||||
if (newCount > 1000000) {
|
||||
|
||||
Reference in New Issue
Block a user