Class SurveyScaleAPIDemoHandler

  • All Implemented Interfaces:
    DemoHandler, InternalDemoHandler

    public final class SurveyScaleAPIDemoHandler
    extends AbstractDemoHandler
    A demo application that generates a report using the SurveyScale class to present responses to a survey.
    Author:
    David Gilbert
    • Constructor Detail

      • SurveyScaleAPIDemoHandler

        public SurveyScaleAPIDemoHandler()
    • Method Detail

      • getDemoName

        public String getDemoName()
        Description copied from interface: InternalDemoHandler
        Returns the display name of the demo.
        Returns:
        the name.
      • createReport

        public org.pentaho.reporting.engine.classic.core.MasterReport createReport()
        Creates a report format by calling API methods directly.
        Returns:
        A report.
      • getDemoDescriptionSource

        public URL getDemoDescriptionSource()
        Description copied from interface: InternalDemoHandler
        Returns the URL of the HTML document describing this demo.
        Returns:
        the demo description.
      • getPresentationComponent

        public 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.
        Returns:
        the presentation component, never null.