org.jfree.report.demo
Class RectanglesDemo

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

public class RectanglesDemo
extends AbstractXmlDemoHandler

Creation-Date: 04.09.2005, 14:52:06


Constructor Summary
RectanglesDemo()
           
 
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.
static void main(java.lang.String[] args)
           
 
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

RectanglesDemo

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

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.

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.

main

public static void main(java.lang.String[] args)