Package org.jfree.report.flow

Examples of org.jfree.report.flow.ReportJob


  /**
   * Invoked when an action occurs.
   */
  public void actionPerformed(ActionEvent e)
  {
    final ReportJob reportJob = previewPane.getReportJob();
    if (reportJob == null)
    {
      return;
    }

    final ReportJob job = reportJob.derive();
    actionPlugin.performExport(job);
  }
View Full Code Here


  protected PageDrawable processPage(int page)
      throws ReportDataFactoryException,
      DataSourceException, ReportProcessingException, StateException
  {
    final ReportJob job = getJob();
    synchronized (job)
    {
      // set up the scene
      final PageState state = getPhysicalPageState(page);
View Full Code Here

  public static StaticExpressionRuntimeData getStaticExpressionRuntime
      (final FlowController fc,
       final Object declaringParent)
  {
    final GlobalMasterRow dataRow = fc.getMasterRow();
    final ReportJob reportJob = fc.getReportJob();
    final StaticExpressionRuntimeData sdd = new StaticExpressionRuntimeData();
    sdd.setData(dataRow.getReportDataRow().getReportData());
    sdd.setDeclaringParent(declaringParent);
    sdd.setConfiguration(reportJob.getConfiguration());
    sdd.setReportContext(fc.getReportContext());
    return sdd;
  }
View Full Code Here

    return reportJob;
  }

  public void setReportJob(final ReportJob reportJob)
  {
    ReportJob oldJob = this.reportJob;
    this.reportJob = reportJob;

    firePropertyChange(REPORT_JOB_PROPERTY, oldJob, reportJob);
    if (reportJob == null)
    {
View Full Code Here

    {
      printReportProcessor.close();
      printReportProcessor = null;
    }

    final ReportJob reportJob = getReportJob();
    printReportProcessor = new PrintReportProcessor(reportJob.derive());

    paginationWorker = new Worker();
    paginationWorker.setWorkload
        (new RepaginationRunnable(printReportProcessor));
  }
View Full Code Here

      return SwingUtil.getWindowAncestor(PreviewPane.this);
    }

    public Locale getLocale()
    {
      ReportJob report = getReportJob();
      if (report != null)
      {
        return report.getReportStructureRoot().getLocale();
      }
      return Locale.getDefault();
    }
View Full Code Here

      return PreviewPane.this.getIconTheme();
    }

    public Configuration getConfiguration()
    {
      ReportJob report = getReportJob();
      if (report != null)
      {
        return report.getConfiguration();
      }
      return JFreeReportBoot.getInstance().getGlobalConfig();
    }
View Full Code Here

  protected PageDrawable processPage(final int page)
      throws ReportDataFactoryException,
      DataSourceException, ReportProcessingException, StateException
  {
    final ReportJob job = getJob();
    synchronized (job)
    {
      // set up the scene
      final PageState state = getPhysicalPageState(page);
View Full Code Here

  /**
   * Invoked when an action occurs.
   */
  public void actionPerformed(final ActionEvent e)
  {
    final ReportJob reportJob = previewPane.getReportJob();
    if (reportJob == null)
    {
      return;
    }

    final ReportJob job = reportJob.derive();
    actionPlugin.performExport(job);
  }
View Full Code Here

    return reportJob;
  }

  public void setReportJob(final ReportJob reportJob)
  {
    final ReportJob oldJob = this.reportJob;
    this.reportJob = reportJob;

    firePropertyChange(REPORT_JOB_PROPERTY, oldJob, reportJob);
    if (reportJob == null)
    {
View Full Code Here

TOP

Related Classes of org.jfree.report.flow.ReportJob

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.