/** * Remove all items contained in the aggregate at the given row * @param row the row index of the aggregate */ public void removeAllFromAggregate(int row) { clearAggregateMappings(row, true); }
/** * Clear all aggregate mappings for a row when it is deleted. */ protected void fireTableEvent(int row0, int row1, int col, int type) { if ( col==EventConstants.ALL_COLUMNS && type==EventConstants.DELETE ) { for ( int r=row0; r<=row1; ++r ) clearAggregateMappings(r, false); } super.fireTableEvent(row0, row1, col, type); }