Class InternalFrameDemoHandler
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.demo.util.AbstractDemoHandler
-
- org.pentaho.reporting.engine.classic.demo.util.AbstractXmlDemoHandler
-
- org.pentaho.reporting.engine.classic.demo.ancient.demo.opensource.OpenSourceXMLDemoHandler
-
- org.pentaho.reporting.engine.classic.demo.ancient.demo.opensource.InternalFrameDemoHandler
-
- All Implemented Interfaces:
DemoHandler
,InternalDemoHandler
,XmlDemoHandler
public class InternalFrameDemoHandler extends OpenSourceXMLDemoHandler
A demo to show the usage of the InteralPreviewFrame. It shows a report on a primitive desktop.- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description InternalFrameDemoHandler()
Constructs the demo application.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDemoName()
Returns the display name of the demo.protected JDesktopPane
getDesktop()
JComponent
getPresentationComponent()
Returns the presentation component for this demo.PreviewHandler
getPreviewHandler()
static void
main(String[] args)
Entry point for running the demo application...-
Methods inherited from class org.pentaho.reporting.engine.classic.demo.ancient.demo.opensource.OpenSourceXMLDemoHandler
createReport, getDemoDescriptionSource, getReportDefinitionSource
-
Methods inherited from class org.pentaho.reporting.engine.classic.demo.util.AbstractXmlDemoHandler
parseReport
-
Methods inherited from class org.pentaho.reporting.engine.classic.demo.util.AbstractDemoHandler
createDefaultTable, getController, setController
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pentaho.reporting.engine.classic.demo.util.InternalDemoHandler
getController, setController
-
-
-
-
Method Detail
-
getDemoName
public String getDemoName()
Description copied from interface:InternalDemoHandler
Returns the display name of the demo.- Specified by:
getDemoName
in interfaceDemoHandler
- Specified by:
getDemoName
in interfaceInternalDemoHandler
- Overrides:
getDemoName
in classOpenSourceXMLDemoHandler
- Returns:
- the name.
-
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.- Specified by:
getPresentationComponent
in interfaceInternalDemoHandler
- Overrides:
getPresentationComponent
in classOpenSourceXMLDemoHandler
- Returns:
- the presentation component, never null.
-
getDesktop
protected JDesktopPane getDesktop()
-
getPreviewHandler
public PreviewHandler getPreviewHandler()
- Specified by:
getPreviewHandler
in interfaceDemoHandler
- Overrides:
getPreviewHandler
in classAbstractXmlDemoHandler
-
main
public static void main(String[] args)
Entry point for running the demo application...- Parameters:
args
- ignored.
-
-