use of javax.swing.ListModel in project adempiere by adempiere.
the class VTreeMaintenance method action_treeDeleteAll.
// action_treeAddAll
/**
* Action: Delete All Nodes from Tree
*/
private void action_treeDeleteAll() {
log.info("");
ListModel model = centerList.getModel();
int size = model.getSize();
int index = -1;
for (index = 0; index < size; index++) {
ListItem item = (ListItem) model.getElementAt(index);
action_treeDelete(item);
}
}
Aggregations