Class BookstoreDemo

    • Constructor Detail

      • BookstoreDemo

        public BookstoreDemo()
        Default constructor.
    • Method Detail

      • getDemoName

        public String getDemoName()
        Returns the display name of the demo.
        Returns:
        the name.
      • createReport

        public org.pentaho.reporting.engine.classic.core.MasterReport createReport()
                                                                            throws ReportDefinitionException
        Creates the report. This calls the standard parse method and then assigns the table model to the report.
        Returns:
        the fully initialized JFreeReport object.
        Throws:
        ReportDefinitionException - if an error occured preventing the report definition.
      • getDemoDescriptionSource

        public URL getDemoDescriptionSource()
        Returns the URL of the HTML document describing this demo.
        Returns:
        the demo description.
      • getPresentationComponent

        public JComponent getPresentationComponent()
        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.
        Returns:
        the presentation component, never null.
      • getReportDefinitionSource

        public URL getReportDefinitionSource()
        Returns the URL of the XML definition for this report.
        Returns:
        the URL of the report definition.