org.jfree.report.demo.layouts
Class BandInBandStackingDemoHandler

java.lang.Object
  |
  +--org.jfree.report.demo.helper.AbstractDemoHandler
        |
        +--org.jfree.report.demo.layouts.BandInBandStackingDemoHandler

public class BandInBandStackingDemoHandler
extends AbstractDemoHandler

A sample to show the band in band capabilities of JFreeReport ...

Author:
Thomas Morgner.

Constructor Summary
BandInBandStackingDemoHandler()
          Default constructor.
 
Method Summary
 JFreeReport createReport()
          Create a report with a single report header band.
 java.net.URL getDemoDescriptionSource()
          Returns the URL of the HTML document describing this demo.
 java.lang.String getDemoName()
          Returns the display name of the demo.
 javax.swing.JComponent getPresentationComponent()
          Returns the presentation component for this demo.
static void main(java.lang.String[] args)
           
 
Methods inherited from class org.jfree.report.demo.helper.AbstractDemoHandler
createDefaultTable, getControler, getPreviewHandler, setControler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BandInBandStackingDemoHandler

public BandInBandStackingDemoHandler()
Default constructor.
Method Detail

getDemoName

public java.lang.String getDemoName()
Description copied from interface: InternalDemoHandler
Returns the display name of the demo.
Tags copied from interface: InternalDemoHandler
Returns:
the name.

getDemoDescriptionSource

public java.net.URL getDemoDescriptionSource()
Description copied from interface: InternalDemoHandler
Returns the URL of the HTML document describing this demo.
Tags copied from interface: InternalDemoHandler
Returns:
the demo description.

getPresentationComponent

public javax.swing.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.
Tags copied from interface: InternalDemoHandler
Returns:
the presentation component, never null.

createReport

public JFreeReport 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(java.lang.String[] args)