Examples of GroupBody


Examples of org.pentaho.reporting.engine.classic.core.GroupBody

  }

  private void computeGroupCounts(final CrosstabGroup crosstabGroup)
  {
    final ArrayList<String> list = new ArrayList<String>();
    GroupBody body = crosstabGroup.getBody();
    while (body != null)
    {
      if (body instanceof CrosstabOtherGroupBody)
      {
        otherGroups += 1;
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.GroupBody

    Group currentGroup = rootGroup;
    for (int i = 1; i < cache.length; i++)
    {
      final Group g = cache[i];

      final GroupBody body = currentGroup.getBody();
      if (body instanceof SubGroupBody)
      {
        final SubGroupBody sbody = (SubGroupBody) body;
        sbody.setGroup(g);
      }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.GroupBody

    final RenderedCrosstabLayout crosstabLayout = outputFunction.getCurrentRenderedCrosstabLayout();

    final int gidx = event.getState().getCurrentGroupIndex();
    final Group group = event.getReport().getGroup(gidx);
    final String columnField;
    final GroupBody groupBody = group.getBody();
    if (groupBody instanceof CrosstabColumnGroupBody)
    {
      final CrosstabColumnGroupBody columnGroupBody = (CrosstabColumnGroupBody) groupBody;
      final CrosstabColumnGroup next = columnGroupBody.getGroup();
      if (next.isPrintSummary() == false)
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.GroupBody

  public ProcessState commit(ProcessState next) throws ReportProcessingException
  {
    final Group group = next.getReport().getGroup(next.getCurrentGroupIndex());

    final GroupBody body = group.getBody();
    if (body instanceof CrosstabRowGroupBody)
    {
      next.setAdvanceHandler(BeginCrosstabRowAxisHandler.HANDLER);
    }
    else if (body instanceof CrosstabColumnGroupBody)
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.GroupBody

  public ProcessState commit(final ProcessState next) throws ReportProcessingException
  {
    final CrosstabGroup group = (CrosstabGroup) next.getReport().getGroup(next.getCurrentGroupIndex());

    final GroupBody body = group.getBody();
    if (body instanceof CrosstabRowGroupBody)
    {
      next.setAdvanceHandler(BeginCrosstabRowAxisHandler.HANDLER);
    }
    else if (body instanceof CrosstabOtherGroupBody)
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.GroupBody

  public ProcessState commit(final ProcessState next) throws ReportProcessingException
  {
    final Group group = next.getReport().getGroup(next.getCurrentGroupIndex());

    final GroupBody body = group.getBody();
    if (body instanceof CrosstabColumnGroupBody)
    {
      next.setAdvanceHandler(BeginCrosstabColumnAxisHandler.HANDLER);
    }
    else if (body instanceof CrosstabCellBody)
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.GroupBody

                           final ReportEvent event) throws ReportProcessingException
  {
    final int gidx = event.getState().getCurrentGroupIndex();
    final RelationalGroup group = (RelationalGroup) event.getReport().getGroup(gidx);
    final Band b = group.getHeader();
    final GroupBody groupBody = group.getBody();

    outputFunction.updateFooterArea(event);
    final Renderer renderer = outputFunction.getRenderer();
    renderer.startGroup(group, event.getState().getPredictedStateCount());
    renderer.startSection(Renderer.SectionType.NORMALFLOW);
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.GroupBody

  }

  public CrosstabCellBody getCrosstabCellBody()
  {
    final Group group = getInnerMostGroup();
    final GroupBody body = group.getBody();
    if (body instanceof CrosstabCellBody)
    {
      return (CrosstabCellBody) body;
    }
    return null;
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.GroupBody

   * @return The details header band.
   */
  public DetailsHeader getDetailsHeader()
  {
    final Group group = getInnerMostGroup();
    final GroupBody body = group.getBody();
    if (body instanceof GroupDataBody)
    {
      final GroupDataBody dataBody = (GroupDataBody) body;
      return dataBody.getDetailsHeader();
    }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.GroupBody

   * @return The details header  band.
   */
  public DetailsFooter getDetailsFooter()
  {
    final Group group = getInnerMostGroup();
    final GroupBody body = group.getBody();
    if (body instanceof GroupDataBody)
    {
      final GroupDataBody dataBody = (GroupDataBody) body;
      return dataBody.getDetailsFooter();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.