public void summaryRowSelection(final ReportEvent event) { if (rowbandingOnGroup == false) { return; } if (StringUtils.isEmpty(group)) { final Group group = event.getReport().getGroup(event.getState().getCurrentGroupIndex()); if (group instanceof CrosstabRowGroup) { final GroupBody body = group.getBody(); if (body instanceof CrosstabColumnGroupBody) { if (Boolean.TRUE.equals( group.getAttribute( AttributeNames.Crosstab.NAMESPACE, AttributeNames.Crosstab.PRINT_SUMMARY))) { triggerVisibleStateCrosstab(event); } } } } else { if (FunctionUtilities.isDefinedGroup(group, event)) { final Group group = event.getReport().getGroup(event.getState().getCurrentGroupIndex()); if (Boolean.TRUE.equals( group.getAttribute( AttributeNames.Crosstab.NAMESPACE, AttributeNames.Crosstab.PRINT_SUMMARY))) { triggerVisibleStateCrosstab(event); } } } }
public void groupStarted(final ReportEvent event) { if (rowbandingOnGroup == false) { return; } if (StringUtils.isEmpty(group)) { final Group group = event.getReport().getGroup(event.getState().getCurrentGroupIndex()); if (group instanceof CrosstabRowGroup) { final GroupBody body = group.getBody(); if (body instanceof CrosstabColumnGroupBody) { triggerVisibleStateCrosstab(event); } } } else { if (FunctionUtilities.isDefinedGroup(group, event)) { triggerVisibleStateCrosstab(event); } } }