public void nodeChanged(final ReportModelEvent event) { final Object element = event.getElement(); if (element instanceof ReportElement == false) { return; } final ReportElement reportElement = (ReportElement) element; final Section band = getRendererRoot().getElement(); if (ModelUtility.isDescendant(band, reportElement)) { rendererRoot.resetBounds(); CrosstabRenderComponent.this.revalidate(); CrosstabRenderComponent.this.repaint(); return; } if (reportElement instanceof Section) { final Section section = (Section) reportElement; if (ModelUtility.isDescendant(section, band)) { rendererRoot.resetBounds(); CrosstabRenderComponent.this.revalidate(); CrosstabRenderComponent.this.repaint(); } } }
protected boolean isLocalElement(final ReportElement e) { return ModelUtility.isDescendant(rendererRoot.getCrosstabGroup(), e); }