Package org.pentaho.reporting.engine.classic.core

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


  public ProcessState commit(final ProcessState next) throws ReportProcessingException
  {
    next.setAdvanceHandler(ReportDoneHandler.HANDLER);

    final RootLevelBand rootLevelBand = next.getReport().getReportFooter();

    return InlineSubreportProcessor.process(next, rootLevelBand);
  }
View Full Code Here


    else
    {
      throw new IllegalStateException("This report is totally messed up!");
    }

    final RootLevelBand rootLevelBand = group.getHeader();
    return InlineSubreportProcessor.process(next, rootLevelBand);

  }
View Full Code Here

    else
    {
      next.setAdvanceHandler(BeginGroupHandler.HANDLER);
    }

    final RootLevelBand rootLevelBand = next.getReport().getReportHeader();
    return InlineSubreportProcessor.process(next, rootLevelBand);
  }
View Full Code Here

  public ProcessState commit(final ProcessState state) throws ReportProcessingException
  {
    state.setAdvanceHandler(JoinEndCrosstabHandler.HANDLER);

    final Group group = state.getReport().getGroup(state.getCurrentGroupIndex());
    final RootLevelBand rootLevelBand = group.getFooter();
    return InlineSubreportProcessor.process(state, rootLevelBand);
  }
View Full Code Here

  }


  public ProcessState commit(final ProcessState next) throws ReportProcessingException
  {
    final RootLevelBand rootLevelBand = next.getReport().getItemBand();
    if (InlineSubreportProcessor.hasSubReports(next, rootLevelBand) == false)
    {
      return JoinDetailsHandler.HANDLER.commit(next);
    }
View Full Code Here

    else
    {
      throw new IllegalStateException("This report is totally messed up!");
    }

    final RootLevelBand rootLevelBand = group.getHeader();
    return InlineSubreportProcessor.process(next, rootLevelBand);
  }
View Full Code Here

  public ProcessState commit(final ProcessState next) throws ReportProcessingException
  {
    next.setAdvanceHandler(JoinEndCrosstabColumnAxisHandler.HANDLER);

    final Group group = next.getReport().getGroup(next.getCurrentGroupIndex());
    final RootLevelBand rootLevelBand = group.getFooter();
    return InlineSubreportProcessor.process(next, rootLevelBand);
  }
View Full Code Here

    final Band parent = r.getParent();
    if (parent instanceof RootLevelBand == false)
    {
      return false;
    }
    final RootLevelBand rlb = (RootLevelBand) parent;
    final SubReport[] reports = rlb.getSubReports();
    for (int i = 0; i < reports.length; i++)
    {
      final SubReport report = reports[i];
      if (r == report)
      {
View Full Code Here

      if (event.getType() == ReportModelEvent.NODE_PROPERTIES_CHANGED)
      {
        final Object element = event.getElement();
        if (element instanceof RootLevelBand)
        {
          final RootLevelBand band = (RootLevelBand) element;
          final boolean modelHide = ModelUtility.isHideInLayoutGui(band);
          final boolean stateShow = isShown(band);
          if (modelHide == stateShow)
          {
            refresh();
View Full Code Here

    {
      final Section re = (Section) parent;
      if (index >= re.getElementCount())
      {
        final int subReportIndex = index - re.getElementCount();
        final RootLevelBand rl = (RootLevelBand) parent;
        return rl.getSubReport(subReportIndex);
      }
    }

    final Section br = (Section) parent;
    if (isStrictOrderNeeded(br))
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.RootLevelBand

Copyright © 2018 www.massapicom. 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.