org.jfree.report.demo.invoice
Class SimpleAdvertisingDemoHandler

java.lang.Object
  |
  +--org.jfree.report.demo.helper.AbstractDemoHandler
        |
        +--org.jfree.report.demo.helper.AbstractXmlDemoHandler
              |
              +--org.jfree.report.demo.invoice.SimpleAdvertisingDemoHandler

public class SimpleAdvertisingDemoHandler
extends AbstractXmlDemoHandler


Constructor Summary
SimpleAdvertisingDemoHandler()
           
 
Method Summary
 JFreeReport createReport()
          Creates the report.
 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.
 java.net.URL getReportDefinitionSource()
          Returns the URL of the XML definition for this report.
 
Methods inherited from class org.jfree.report.demo.helper.AbstractXmlDemoHandler
getPreviewHandler, parseReport
 
Methods inherited from class org.jfree.report.demo.helper.AbstractDemoHandler
createDefaultTable, getControler, setControler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAdvertisingDemoHandler

public SimpleAdvertisingDemoHandler()
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.

getReportDefinitionSource

public java.net.URL getReportDefinitionSource()
Description copied from interface: XmlDemoHandler
Returns the URL of the XML definition for this report.
Tags copied from interface: XmlDemoHandler
Returns:
the URL of the report definition.

createReport

public JFreeReport createReport()
                         throws ReportDefinitionException
Description copied from interface: InternalDemoHandler
Creates the report. For XML reports, this will most likely call the ReportGenerator, while API reports may use this function to build and return a new, fully initialized report object.
Tags copied from interface: InternalDemoHandler
Returns:
the fully initialized JFreeReport object.
Throws:
ReportDefinitionException - if an error occured preventing the report definition.