org.jfree.report.demo
Class HelloWorld
java.lang.Object
|
+--org.jfree.report.demo.HelloWorld
- public class HelloWorld
- extends java.lang.Object
- implements DemoHandler
A very simple JFreeReport demo. The purpose of this demo is to illustrate the basic
steps required to connect a report definition with some data and display a report
preview on-screen.
In this example, the report definition is created in code. It is also possible to read
a report definition from an XML file...that is demonstrated elsewhere.
- Author:
- David Gilbert
|
Constructor Summary |
HelloWorld()
Creates and displays a simple report. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
HelloWorld
public HelloWorld()
- Creates and displays a simple report.
executeReport
protected void executeReport()
getDescription
protected java.lang.String getDescription()
- Returns a short description of the demo.
- Returns:
-
getDemoName
public java.lang.String getDemoName()
- Specified by:
- getDemoName in interface DemoHandler
getPreviewHandler
public PreviewHandler getPreviewHandler()
- Specified by:
- getPreviewHandler in interface DemoHandler
main
public static void main(java.lang.String[] args)
- The starting point for the "Hello World" demo application.
- Parameters:
args - ignored.