Examples of SubGroupBody


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

        final GroupBody body = g.getBody();
        if (body instanceof SubGroupBody)
        {
          groupCounter += 1;
          final SubGroupBody sgb = (SubGroupBody) body;
          g = sgb.getGroup();
        }
        else if (body instanceof CrosstabOtherGroupBody)
        {
          groupCounter += 1;
          final CrosstabOtherGroupBody sgb = (CrosstabOtherGroupBody) body;
          g = sgb.getGroup();
        }
        else
        {
          break;
        }
View Full Code Here

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

   */
  protected void doneParsing() throws SAXException
  {
    super.doneParsing();

    final SubGroupBody body = getElement();
    if (groupReadHandler != null)
    {
      body.setGroup(groupReadHandler.getElement());
    }
    else if (crosstabGroupReadHandler != null)
    {
      body.setGroup(crosstabGroupReadHandler.getElement());
    }
    else
    {
      throw new ParseException("Mandatory element 'group' or 'crosstab' was not found.");
    }
View Full Code Here

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

    super("sub-group-body", true);
  }

  public ReportElement create()
  {
    return new SubGroupBody();
  }
View Full Code Here

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

      final Group g = cache[i];

      final GroupBody body = currentGroup.getBody();
      if (body instanceof SubGroupBody)
      {
        final SubGroupBody sbody = (SubGroupBody) body;
        sbody.setGroup(g);
      }
      else
      {
        dataBody = (GroupDataBody) currentGroup.getBody();
        currentGroup.setBody(new SubGroupBody(g));
      }

      currentGroup = g;
    }
View Full Code Here

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

        {
          rootGroup = g;
        }
        if (innerGroup != null)
        {
          innerGroup.setBody(new SubGroupBody(g));
        }
        innerGroup = g;
      }
    }
View Full Code Here

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

    {
      group.setFooter((GroupFooter) footerReadHandler.getBand());
    }
    if (groupReadHandler != null)
    {
      final SubGroupBody subGroupBody = new SubGroupBody();
      subGroupBody.setGroup(groupReadHandler.getGroup());
      group.setBody(subGroupBody);
    }
    else
    {
      group.setBody(new GroupDataBody());
View Full Code Here

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

    GroupBody body = crosstabGroup.getBody();
    while (body != null)
    {
      if (body instanceof SubGroupBody)
      {
        final SubGroupBody sgBody = (SubGroupBody) body;
        final Group g = sgBody.getGroup();
        body = g.getBody();
        continue;
      }

      if (body instanceof CrosstabOtherGroupBody)
View Full Code Here

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

      else
      {
        final Section parentSection = crosstabGroup.getParentSection();
        if (parentSection instanceof SubGroupBody)
        {
          final SubGroupBody sgb = (SubGroupBody) parentSection;
          sgb.setGroup(new RelationalGroup());
        }
      }
    }

  }
View Full Code Here

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

    {
      relationalGroups.add((RelationalGroup) group);
      final GroupBody body = group.getBody();
      if (body instanceof SubGroupBody)
      {
        final SubGroupBody sgBody = (SubGroupBody) body;
        if (sgBody.getGroup() instanceof RelationalGroup)
        {
          group = sgBody.getGroup();
        }
        else
        {
          group = null;
        }
View Full Code Here

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

        configureRelationalGroup(group, groupDefinition, i);

        final GroupBody body = group.getBody();
        if (body instanceof SubGroupBody)
        {
          final SubGroupBody sgBody = (SubGroupBody) body;
          if (sgBody.getGroup() instanceof RelationalGroup)
          {
            group = (RelationalGroup) sgBody.getGroup();
          }
          else
          {
            group = null;
          }
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.