Class BandInBandStackingDemoHandler
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.demo.util.AbstractDemoHandler
-
- org.pentaho.reporting.engine.classic.demo.ancient.demo.layouts.BandInBandStackingDemoHandler
-
- All Implemented Interfaces:
DemoHandler
,InternalDemoHandler
public class BandInBandStackingDemoHandler extends AbstractDemoHandler
A sample to show the band in band capabilities of JFreeReport ...- Author:
- Thomas Morgner.
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.commons.logging.Log
logger
-
Constructor Summary
Constructors Constructor Description BandInBandStackingDemoHandler()
Default constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.pentaho.reporting.engine.classic.core.MasterReport
createReport()
Create a report with a single report header band.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)
-
Methods inherited from class org.pentaho.reporting.engine.classic.demo.util.AbstractDemoHandler
createDefaultTable, getController, getPreviewHandler, setController
-
-
-
-
Method Detail
-
getDemoName
public String getDemoName()
Description copied from interface:InternalDemoHandler
Returns the display name of the demo.- Returns:
- the name.
-
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.
-
createReport
public org.pentaho.reporting.engine.classic.core.MasterReport createReport()
Create a report with a single report header band. This band contains several sub bands.- Returns:
- the created report.
-
main
public static void main(String[] args)
-
-