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
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SimpleAdvertisingDemoHandler
public SimpleAdvertisingDemoHandler()
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.