org.jfree.report
public class TableReportDataFactory extends java.lang.Object implements ReportDataFactory, java.lang.Cloneable
Constructor and Description |
---|
TableReportDataFactory() |
TableReportDataFactory(java.lang.String name,
javax.swing.table.TableModel tableModel) |
Modifier and Type | Method and Description |
---|---|
void |
addTable(java.lang.String name,
javax.swing.table.TableModel tableModel) |
java.lang.Object |
clone() |
void |
close()
Closes the report data factory and all report data instances that have
been returned by this instance.
|
ReportDataFactory |
derive()
Derives a freshly initialized report data factory, which is independend of
the original data factory.
|
void |
open() |
ReportData |
queryData(java.lang.String query,
DataSet parameters)
Queries a datasource.
|
void |
removeTable(java.lang.String name) |
public TableReportDataFactory()
public TableReportDataFactory(java.lang.String name, javax.swing.table.TableModel tableModel)
public void addTable(java.lang.String name, javax.swing.table.TableModel tableModel)
public void removeTable(java.lang.String name)
public ReportData queryData(java.lang.String query, DataSet parameters) throws ReportDataFactoryException
queryData
in interface ReportDataFactory
query
- the name of the table.parameters
- are ignored for this factory.ReportDataFactoryException
public void open()
open
in interface ReportDataFactory
public void close()
ReportDataFactory
close
in interface ReportDataFactory
public ReportDataFactory derive()
derive
in interface ReportDataFactory
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException