public class ThreeSubReportDemo extends AbstractXmlDemoHandler
Constructor and Description |
---|
ThreeSubReportDemo() |
Modifier and Type | Method and Description |
---|---|
static TableModel |
createAnimalTableModel() |
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 createAnimalTableModel()
public static TableModel createColorTableModel()
public static void main(String[] args) throws IOException, org.pentaho.reporting.libraries.resourceloader.ResourceException
IOException
org.pentaho.reporting.libraries.resourceloader.ResourceException