org.jfree.report.demo
Class SampleReport1

java.lang.Object
  extended byorg.jfree.report.demo.SampleReport1

public class SampleReport1
extends java.lang.Object

This creates a report similar to the one defined by report1.xml.

Author:
Thomas Morgner

Constructor Summary
SampleReport1()
          Default constructor.
 
Method Summary
 JFreeReport createReport()
          Creates the report.
static void main(java.lang.String[] args)
          Runs this report and shows a preview dialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleReport1

public SampleReport1()
Default constructor.

Method Detail

createReport

public JFreeReport createReport()
                         throws FunctionInitializeException
Creates the report.

Returns:
the constructed report.
Throws:
FunctionInitializeException - if there was a problem initialising any of the functions.

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Runs this report and shows a preview dialog.

Parameters:
args - the arguments (ignored).
Throws:
java.lang.Exception - if an error occurs (default: print a stack trace)