|
EspressReport v 6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--quadbase.reportdesigner.ReportAPI.DataSheet
This class provides a functionality to merge multiple data sources together. User can create a DataSheet class from a different data sources, for example, data file, database, spreadSheetModel, and IResultSet. And user can use a QbReport constructor for DataSheet array to create a report object.
| Constructor Summary | |
DataSheet(java.applet.Applet applet,
EJBInfo ejbInfo)
Create a new dataSheet from IResultset |
|
DataSheet(java.applet.Applet applet,
IDatabaseInfo dbInfo)
Create a new dataSheet from a database |
|
DataSheet(java.applet.Applet applet,
IDatabaseInfo dbInfo,
boolean doTranspose,
int[] transposeColIdx)
Create a new dataSheet from a database |
|
DataSheet(java.applet.Applet applet,
quadbase.common.util.IOLAPResultSet olapRS,
java.lang.String connectionString,
java.lang.String MDXQuery,
java.lang.String uri,
java.lang.String datasource,
java.lang.String catalog)
|
|
DataSheet(java.applet.Applet applet,
IResultSet data)
Create a new dataSheet from IResultset |
|
DataSheet(java.applet.Applet applet,
IResultSet data,
boolean doTranspose,
int[] transposeColIdx)
Create a new dataSheet from IResultset |
|
DataSheet(java.applet.Applet applet,
ISpreadSheetModel spreadSheet)
Create a new dataSheet from spread sheet |
|
DataSheet(java.applet.Applet applet,
quadbase.common.paramquery.SalesForceQueryFileInfo sfQueryInfo)
Create a new dataSheet from SalesForce |
|
DataSheet(java.applet.Applet applet,
quadbase.reportdesigner.ReportAPI.SOAPQueryFileInfo soapInfo)
Create a new dataSheet from SOAP data source |
|
DataSheet(java.applet.Applet applet,
java.lang.String dataFile)
Create a new dataSheet from a data file |
|
DataSheet(java.applet.Applet applet,
java.lang.String dataFile,
boolean doTranspose,
int[] transposeColIdx,
int dataFileType)
Create a new dataSheet from a data file |
|
DataSheet(java.applet.Applet applet,
java.lang.String dataFile,
int dataFileType)
Create a new dataSheet from a data file |
|
DataSheet(java.applet.Applet applet,
XMLFileQueryInfo xmlInfo)
Create a new dataSheet from IResultset |
|
DataSheet(java.applet.Applet applet,
XMLFileQueryInfo xmlInfo,
boolean doTranspose,
int[] transposeColIdx)
Create a new dataSheet from IResultset |
|
| Method Summary | |
void |
addRow(java.lang.Object[] record)
add a new row data |
void |
deleteRow(int no)
delete a specified row |
quadbase.reportdesigner.ReportAPI.ColData[] |
getColData()
Return an array of quadbase.reportdesigner.report.ColData |
int |
getColumnCount()
returns number of columns |
java.lang.String[] |
getFieldNames()
Return the field names in a string array of the datasheet. |
int[] |
getOriginalDataTypes()
|
java.lang.Object[] |
getRow(int no)
returns specified row data |
int |
getRowCount()
returns number of rows |
void |
print(java.io.PrintStream out,
int separator,
int format)
Print Data File |
void |
updateRow(java.lang.Object[] record,
int no)
update the specified row |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataSheet(java.applet.Applet applet,
IDatabaseInfo dbInfo)
applet - the applet containing the report. Use "(Applet)null" if
used within an applicationdbInfo - database information, see interface IDatabaseInfo
public DataSheet(java.applet.Applet applet,
IDatabaseInfo dbInfo,
boolean doTranspose,
int[] transposeColIdx)
applet - the applet containing the report. Use "(Applet)null" if
used within an applicationdbInfo - database information, see interface IDatabaseInfodoTransposeData - a flag denoting whether the input data has to be transposed intotransposeColIdx - transpose selected column index
public DataSheet(java.applet.Applet applet,
java.lang.String dataFile)
applet - the applet containing the report. Use "(Applet)null" if
used within an applicationdataFile - source data file, see database file format for details
public DataSheet(java.applet.Applet applet,
java.lang.String dataFile,
int dataFileType)
applet - the applet containing the report. Use "(Applet)null" if
used within an applicationdataFile - source data file, see database file format for details
public DataSheet(java.applet.Applet applet,
java.lang.String dataFile,
boolean doTranspose,
int[] transposeColIdx,
int dataFileType)
applet - the applet containing the report. Use "(Applet)null" if
used within an applicationdoTransposeData - a flag denoting whether the input data has to be transposed intotransposeColIdx - transpose selected column indexdataFile - source data file, see database file format for details
public DataSheet(java.applet.Applet applet,
IResultSet data)
applet - the applet containing the report. Use "(Applet)null" if
used within an applicationdata - source data to plot report, see IResultSet for details
public DataSheet(java.applet.Applet applet,
IResultSet data,
boolean doTranspose,
int[] transposeColIdx)
applet - the applet containing the report. Use "(Applet)null" if
used within an applicationdata - source data to plot report, see IResultSet for detailsdoTransposeData - a flag denoting whether the input data has to be transposed intotransposeColIdx - transpose selected column indexdataFile - source data file, see database file format for details
public DataSheet(java.applet.Applet applet,
EJBInfo ejbInfo)
applet - the applet containing the report.
Use "(Applet)null" if used within an applicationejbInfo - ejb info object to plot report.doTransposeData - a flag denoting whether the input data has to be transposed intotransposeColIdx - transpose selected column indexdataFile - source data file, see database file format for details
public DataSheet(java.applet.Applet applet,
quadbase.reportdesigner.ReportAPI.SOAPQueryFileInfo soapInfo)
applet - the applet containing the report.
Use "(Applet)null" if used within an applicationsoapInfo - SOAP data source information
public DataSheet(java.applet.Applet applet,
quadbase.common.paramquery.SalesForceQueryFileInfo sfQueryInfo)
applet - the applet containing the report.
Use "(Applet)null" if used within an applicationsfQueryInfo - SalesForce query information
public DataSheet(java.applet.Applet applet,
quadbase.common.util.IOLAPResultSet olapRS,
java.lang.String connectionString,
java.lang.String MDXQuery,
java.lang.String uri,
java.lang.String datasource,
java.lang.String catalog)
applet - olapRS - connectionString - MDXQuery - uri - datasource - catalog -
public DataSheet(java.applet.Applet applet,
XMLFileQueryInfo xmlInfo)
applet - the applet containing the report. Use "(Applet)null" if
used within an applicationxmlInfo - xml info to plot report.
public DataSheet(java.applet.Applet applet,
XMLFileQueryInfo xmlInfo,
boolean doTranspose,
int[] transposeColIdx)
applet - the applet containing the report. Use "(Applet)null" if
used within an applicationxmlInfo - xml info to plot report.doTransposeData - a flag denoting whether the input data has to be transposed intotransposeColIdx - transpose selected column index
public DataSheet(java.applet.Applet applet,
ISpreadSheetModel spreadSheet)
applet - the applet containing the report. Use "(Applet)null" if
used within an applicationspreadSheet - source data model for report, see ISpreadSheetModel for details| Method Detail |
public int getRowCount()
public int getColumnCount()
public java.lang.Object[] getRow(int no)
no - row numberpublic java.lang.String[] getFieldNames()
public int[] getOriginalDataTypes()
public void addRow(java.lang.Object[] record)
record - new row data objectpublic void deleteRow(int no)
no - row number of deleted row
public void updateRow(java.lang.Object[] record,
int no)
record - the new row datano - the row number to update
public void print(java.io.PrintStream out,
int separator,
int format)
out - The outputStream. The caller is responsible for closing it.separator - Available separators are :format - Available foramt are :public quadbase.reportdesigner.ReportAPI.ColData[] getColData()
|
EspressReport v 6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||