Package org.pentaho.reporting.engine.classic.demo.util

Examples of org.pentaho.reporting.engine.classic.demo.util.SimpleDemoFrame


  public static void main(final String[] args)
  {
    ClassicEngineBoot.getInstance().start();

    final PercentageDemo demoHandler = new PercentageDemo();
    final SimpleDemoFrame frame = new SimpleDemoFrame(demoHandler);
    frame.init();
    frame.pack();
    SwingUtil.centerFrameOnScreen(frame);
    frame.setVisible(true);

  }
View Full Code Here


  {
    // initialize JFreeReport
    ClassicEngineBoot.getInstance().start();
    final PeopleReportXmlDemoHandler handler = new PeopleReportXmlDemoHandler();

    final SimpleDemoFrame frame = new SimpleDemoFrame(handler);
    frame.init();
    frame.pack();
    SwingUtil.centerFrameOnScreen(frame);
    frame.setVisible(true);
//    HtmlReportUtil.createDirectoryHTML(handler.createReport(), "/tmp/report.html");
  }
View Full Code Here

  {
    // initialize JFreeReport
    ClassicEngineBoot.getInstance().start();

    final SportsCouncilDemo handler = new SportsCouncilDemo();
    final SimpleDemoFrame frame = new SimpleDemoFrame(handler);
    frame.init();
    frame.pack();
    SwingUtil.centerFrameOnScreen(frame);
    frame.setVisible(true);
  }
View Full Code Here

  public static void main(final String[] args)
  {
    ClassicEngineBoot.getInstance().start();

    final PaintComponentDemoHandler demoHandler = new PaintComponentDemoHandler();
    final SimpleDemoFrame frame = new SimpleDemoFrame(demoHandler);
    frame.init();
    frame.pack();
    SwingUtil.centerFrameOnScreen(frame);
    frame.setVisible(true);

  }
View Full Code Here

  {
    // initialize JFreeReport
    ClassicEngineBoot.getInstance().start();

    final RowbandingDemo handler = new RowbandingDemo();
    final SimpleDemoFrame frame = new SimpleDemoFrame(handler);
    frame.init();
    frame.pack();
    SwingUtil.centerFrameOnScreen(frame);
    frame.setVisible(true);
    //HtmlReportUtil.createStreamHTML(handler.createReport(), "/tmp/groups.html");
//    ExcelReportUtil.createXLS(handler.createReport(), "/tmp/groups.xls");
  }
View Full Code Here

  {
    // initialize JFreeReport
    ClassicEngineBoot.getInstance().start();

    final ReportFooter2Demo handler = new ReportFooter2Demo();
    final SimpleDemoFrame frame = new SimpleDemoFrame(handler);
    frame.init();
    frame.pack();
    SwingUtil.centerFrameOnScreen(frame);
    frame.setVisible(true);
  }
View Full Code Here

    final ExtSubReportDemo demoHandler = new ExtSubReportDemo();
    final boolean preview = true;
    if (preview)
    {
      final SimpleDemoFrame frame = new SimpleDemoFrame(demoHandler);
      frame.init();
      frame.pack();
      SwingUtil.centerFrameOnScreen(frame);
      frame.setVisible(true);
    }
    else
    {
      HtmlReportUtil.createStreamHTML(demoHandler.createReport(), "/tmp/test.html");
    }
View Full Code Here

  {
    // initialize JFreeReport
    ClassicEngineBoot.getInstance().start();

    final LogEventDemo handler = new LogEventDemo();
    final SimpleDemoFrame frame = new SimpleDemoFrame(handler);
    frame.init();
    frame.pack();
    SwingUtil.centerFrameOnScreen(frame);
    frame.setVisible(true);
  }
View Full Code Here

    final SubReportDemo demoHandler = new SubReportDemo();
    final boolean preview = false;
    if (preview)
    {
      final SimpleDemoFrame frame = new SimpleDemoFrame(demoHandler);
      frame.init();
      frame.pack();
      SwingUtil.centerFrameOnScreen(frame);
      frame.setVisible(true);
    }
    else
    {
      HtmlReportUtil.createStreamHTML(demoHandler.createReport(), "/tmp/test.html");
    }
View Full Code Here

  {
    // initialize JFreeReport
    ClassicEngineBoot.getInstance().start();

    final ConditionalGroupDemo handler = new ConditionalGroupDemo();
    final SimpleDemoFrame frame = new SimpleDemoFrame(handler);
    frame.init();
    frame.pack();
    SwingUtil.centerFrameOnScreen(frame);
    frame.setVisible(true);
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.demo.util.SimpleDemoFrame

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.