Class SwingIconsDemo
java.lang.Object
org.pentaho.reporting.engine.classic.demo.util.AbstractDemoHandler
org.pentaho.reporting.engine.classic.demo.util.AbstractXmlDemoHandler
org.pentaho.reporting.engine.classic.demo.ancient.demo.swingicons.SwingIconsDemo
- All Implemented Interfaces:
DemoHandler,InternalDemoHandler,XmlDemoHandler
A demonstration application.
This demo is written up in the JFreeReport PDF Documentation. Please notify David Gilbert (david.gilbert@object-refinery.com) if you need to make changes to this file.
To run this demo, you need to have the Java Look and Feel Icons jar file on your classpath.
- Author:
- David Gilbert
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.pentaho.reporting.engine.classic.core.MasterReportCreates the report.Returns the URL of the HTML document describing this demo.Returns the display name of the demo.Returns the presentation component for this demo.Returns the URL of the XML definition for this report.static voidEntry point for running the demo application...Methods inherited from class org.pentaho.reporting.engine.classic.demo.util.AbstractXmlDemoHandler
getPreviewHandler, parseReportMethods inherited from class org.pentaho.reporting.engine.classic.demo.util.AbstractDemoHandler
createDefaultTable, getController, setControllerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.pentaho.reporting.engine.classic.demo.util.InternalDemoHandler
getController, setController
-
Constructor Details
-
SwingIconsDemo
public SwingIconsDemo()Constructs the demo application.
-
-
Method Details
-
getPresentationComponent
Description copied from interface:InternalDemoHandlerReturns 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.- Returns:
- the presentation component, never null.
-
getDemoName
Description copied from interface:InternalDemoHandlerReturns the display name of the demo.- Returns:
- the name.
-
getDemoDescriptionSource
Description copied from interface:InternalDemoHandlerReturns the URL of the HTML document describing this demo.- Returns:
- the demo description.
-
getReportDefinitionSource
Description copied from interface:XmlDemoHandlerReturns the URL of the XML definition for this report.- Returns:
- the URL of the report definition.
-
createReport
public org.pentaho.reporting.engine.classic.core.MasterReport createReport() throws ReportDefinitionExceptionDescription copied from interface:InternalDemoHandlerCreates 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.- Returns:
- the fully initialized JFreeReport object.
- Throws:
ReportDefinitionException- if an error occured preventing the report definition.
-
main
public static void main(String[] args) throws org.pentaho.reporting.engine.classic.core.ReportProcessingException, IOException, ReportDefinitionException Entry point for running the demo application...- Parameters:
args- ignored.- Throws:
org.pentaho.reporting.engine.classic.core.ReportProcessingExceptionIOExceptionReportDefinitionException
-