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 ReportDataFactoryquery - the name of the table.parameters - are ignored for this factory.ReportDataFactoryExceptionpublic void open()
open in interface ReportDataFactorypublic void close()
ReportDataFactoryclose in interface ReportDataFactorypublic ReportDataFactory derive()
derive in interface ReportDataFactorypublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException