Class HelloWorld
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.demo.ancient.demo.HelloWorld
-
- All Implemented Interfaces:
DemoHandler
public class HelloWorld extends 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
Constructors Constructor Description HelloWorld()
Creates and displays a simple report.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
executeReport()
String
getDemoName()
protected String
getDescription()
Returns a short description of the demo.PreviewHandler
getPreviewHandler()
static void
main(String[] args)
The starting point for the "Hello World" demo application.
-
-
-
Method Detail
-
executeReport
protected void executeReport()
-
getDescription
protected String getDescription()
Returns a short description of the demo.- Returns:
- a description of this report.
-
getDemoName
public String getDemoName()
- Specified by:
getDemoName
in interfaceDemoHandler
-
getPreviewHandler
public PreviewHandler getPreviewHandler()
- Specified by:
getPreviewHandler
in interfaceDemoHandler
-
main
public static void main(String[] args)
The starting point for the "Hello World" demo application.- Parameters:
args
- ignored.
-
-