org.jfree.report.demo.opensource
Class OpenSourceXMLDemoHandler
java.lang.Object
|
+--org.jfree.report.demo.helper.AbstractDemoHandler
|
+--org.jfree.report.demo.helper.AbstractXmlDemoHandler
|
+--org.jfree.report.demo.opensource.OpenSourceXMLDemoHandler
- Direct Known Subclasses:
- InternalFrameDemoHandler
- public class OpenSourceXMLDemoHandler
- extends AbstractXmlDemoHandler
A simple JFreeReport demonstration. The generated report lists some free and open
source software projects for the Java programming language.
- Author:
- David Gilbert
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
OpenSourceXMLDemoHandler
public OpenSourceXMLDemoHandler()
- Constructs the demo application.
getDemoName
public java.lang.String getDemoName()
- Description copied from interface: InternalDemoHandler
- Returns the display name of the demo.
- Tags copied from interface: InternalDemoHandler
- Returns:
- the name.
createReport
public JFreeReport createReport()
throws ReportDefinitionException
- Description copied from interface: InternalDemoHandler
- Creates the report. For XML reports, this will most likely call the
ReportGenerator, while API reports may use this function to build and return
a new, fully initialized report object.
- Tags copied from interface: InternalDemoHandler
- Returns:
- the fully initialized JFreeReport object.
- Throws:
- ReportDefinitionException - if an error occured preventing the
report definition.
getPresentationComponent
public javax.swing.JComponent getPresentationComponent()
- Description copied from interface: InternalDemoHandler
- Returns the presentation component for this demo. This component is
shown before the real report generation is started. Ususally it contains
a JTable with the demo data and/or input components, which allow to configure
the report.
- Tags copied from interface: InternalDemoHandler
- Returns:
- the presentation component, never null.
getDemoDescriptionSource
public java.net.URL getDemoDescriptionSource()
- Description copied from interface: InternalDemoHandler
- Returns the URL of the HTML document describing this demo.
- Tags copied from interface: InternalDemoHandler
- Returns:
- the demo description.
getReportDefinitionSource
public java.net.URL getReportDefinitionSource()
- Description copied from interface: XmlDemoHandler
- Returns the URL of the XML definition for this report.
- Tags copied from interface: XmlDemoHandler
- Returns:
- the URL of the report definition.