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

Examples of org.pentaho.reporting.engine.classic.core.event.ReportEvent


      return;
    }
    if (parentRow != null)
    {
      final ReportState parentState = event.getState().getParentSubReportState();
      final ReportEvent deepEvent;
      if (parentState == null)
      {
        deepEvent = event;
      }
      else
      {
        deepEvent = new ReportEvent
            (parentState, event.getState(), event.getType() | ReportEvent.DEEP_TRAVERSING_EVENT);
      }
      parentRow.fireReportEvent(deepEvent);
      parentRow.updateImportedVariables(getGlobalView(), getDataSchema());
    }
View Full Code Here


    crosstabLayouts.pop();
  }

  public void restart(final ReportState state) throws ReportProcessingException
  {
    final ReportEvent event = new ReportEvent(state, state.getEventCode());
    clearPendingPageStart(event);
  }
View Full Code Here

   *
   * @param baseEvent the type of the base event which caused the page start to be triggered.
   */
  public void firePageStartedEvent(final int baseEvent)
  {
    final ReportEvent event = new ReportEvent(this, ReportEvent.PAGE_STARTED | baseEvent);
    flowController = flowController.fireReportEvent(event);
    layoutProcess.fireReportEvent(event);
  }
View Full Code Here

   * function.
   */
  public void firePageFinishedEvent(final boolean noParentPassing)
  {
    final int eventCode = ReportEvent.PAGE_FINISHED | (noParentPassing ? ReportEvent.NO_PARENT_PASSING_EVENT : 0);
    final ReportEvent event = new ReportEvent(this, eventCode);
    flowController = flowController.fireReportEvent(event);
    layoutProcess.fireReportEvent(event);
  }
View Full Code Here

    if ((advanceHandler.getEventCode() & ProcessState.ARTIFICIAL_EVENT_CODE) == ProcessState.ARTIFICIAL_EVENT_CODE)
    {
      throw new IllegalStateException("Cannot fire artificial events.");
    }

    final ReportEvent event = new ReportEvent(this, advanceHandler.getEventCode());
    flowController = flowController.fireReportEvent(event);
    layoutProcess.fireReportEvent(event);
  }
View Full Code Here

    renderedCrosstabLayouts.pop();
  }

  public void restart(final ReportState state) throws ReportProcessingException
  {
    final ReportEvent event = new ReportEvent(state, state.getEventCode());
    clearPendingPageStart(event, true);
  }
View Full Code Here

      return;
    }
    if (parentRow != null)
    {
      final ReportState parentState = event.getState().getParentSubReportState();
      final ReportEvent deepEvent;
      if (parentState == null)
      {
        deepEvent = event;
      }
      else
      {
        deepEvent = new ReportEvent
            (parentState, event.getState(), event.getType() | ReportEvent.DEEP_TRAVERSING_EVENT);
      }
      parentRow.fireReportEvent(deepEvent);
      if (parentRow.importedDataRow != null)
      {
View Full Code Here

   *
   * @param baseEvent the type of the base event which caused the page start to be triggered.
   */
  public void firePageStartedEvent(final int baseEvent)
  {
    final ReportEvent event = new ReportEvent(this, ReportEvent.PAGE_STARTED | baseEvent);
    flowController = flowController.fireReportEvent(event);
    layoutProcess.fireReportEvent(event);
  }
View Full Code Here

   * function.
   */
  public void firePageFinishedEvent(final boolean noParentPassing)
  {
    final int eventCode = ReportEvent.PAGE_FINISHED | (noParentPassing ? ReportEvent.NO_PARENT_PASSING_EVENT : 0);
    final ReportEvent event = new ReportEvent(this, eventCode);
    flowController = flowController.fireReportEvent(event);
    layoutProcess.fireReportEvent(event);
  }
View Full Code Here

    if ((eventCode & ProcessState.ARTIFICIAL_EVENT_CODE) == ProcessState.ARTIFICIAL_EVENT_CODE)
    {
      throw new IllegalStateException("Cannot fire artificial events.");
    }

    final ReportEvent event = new ReportEvent(this, eventCode);
    flowController = flowController.fireReportEvent(event);
    layoutProcess.fireReportEvent(event);
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.event.ReportEvent

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.