/** * 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); }
/** * Set the bounding box for an item. This method is used by Renderer * modules when the bounds are validated, or set by processing Actions * used in conjunction with Renderers that do not perform bounds * management. * @param row the table row to set * @param x the minimum x-coordinate * @param y the minimum y-coorindate * @param w the width of this item * @param h the height of this item * @see VisualItem#BOUNDS */ public void setBounds(int row, double x, double y, double w, double h) { getBounds(row).setRect(x, y, w, h); fireTableEvent(row, row, getColumnNumber(VisualItem.BOUNDS), EventConstants.UPDATE); }