/** * @see prefuse.visual.VisualItem#getBounds() */ public Rectangle2D getBounds() { if ( !isValidated() ) { return validateBounds(); } return ((VisualTable)m_table).getBounds(m_row); }
/** * 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); }