public class OneFileSubReportDemo extends AbstractXmlDemoHandler
Constructor and Description |
---|
OneFileSubReportDemo() |
Modifier and Type | Method and Description |
---|---|
static TableModel |
createColorTableModel() |
static TableModel |
createFruitTableModel() |
org.pentaho.reporting.engine.classic.core.MasterReport |
createReport()
Creates the report.
|
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.
|
URL |
getReportDefinitionSource()
Returns the URL of the XML definition for this report.
|
static void |
main(String[] args) |
getPreviewHandler
getController, setController
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getController, setController
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 URL getDemoDescriptionSource()
InternalDemoHandler
public JComponent getPresentationComponent()
InternalDemoHandler
public URL getReportDefinitionSource()
XmlDemoHandler
public static TableModel createFruitTableModel()
public static TableModel createColorTableModel()
public static void main(String[] args) throws ReportDefinitionException, IOException, org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.ReportWriterException
ReportDefinitionException
IOException
org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.ReportWriterException