public class OpenSourceAPIDemoHandler extends AbstractDemoHandler
Constructor and Description |
---|
OpenSourceAPIDemoHandler() |
Modifier and Type | Method and Description |
---|---|
org.pentaho.reporting.engine.classic.core.MasterReport |
createReport()
Creates the report.
|
static org.pentaho.reporting.engine.classic.core.MasterReport |
createStaticReport()
Creates a report definition in code.
|
URL |
getDemoDescriptionSource()
Returns the URL of the HTML document describing this demo.
|
String |
getDemoName()
Returns the display name of the demo.
|
JComponent |
getPresentationComponent()
Returns the presentation component for this demo.
|
static void |
main(String[] args) |
createDefaultTable, getController, getPreviewHandler, setController
public JComponent getPresentationComponent()
InternalDemoHandler
public URL getDemoDescriptionSource()
InternalDemoHandler
public String getDemoName()
InternalDemoHandler
public org.pentaho.reporting.engine.classic.core.MasterReport createReport() throws ReportDefinitionException
InternalDemoHandler
ReportDefinitionException
- if an error occured preventing the report definition.public static org.pentaho.reporting.engine.classic.core.MasterReport createStaticReport()
public static void main(String[] args) throws ReportDefinitionException, org.pentaho.reporting.engine.classic.core.ReportProcessingException, IOException
ReportDefinitionException
org.pentaho.reporting.engine.classic.core.ReportProcessingException
IOException
Copyright © 2020 Hitachi Vantara. All rights reserved.