public class DataSheet
extends java.lang.Object
Constructor and Description |
---|
DataSheet(java.applet.Applet applet,
quadbase.reportdesigner.report.ColData[] colData)
Create a new dataSheet from colData array
|
DataSheet(java.applet.Applet applet,
EJBInfo ejbInfo)
Create a new dataSheet from IResultset
|
DataSheet(java.applet.Applet applet,
quadbase.common.util.internal.ExcelFileInfo excelInfo)
Create a new dataSheet from Excel datasource
|
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.QueryClassFileInfo queryFileInfo) |
DataSheet(java.applet.Applet applet,
quadbase.common.paramquery.SalesForceQueryFileInfo sfQueryInfo)
Create a new dataSheet from SalesForce
|
DataSheet(java.applet.Applet applet,
quadbase.common.paramquery.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
|
Modifier and Type | Method and Description |
---|---|
void |
addRow(java.lang.Object[] record)
add a new row data
|
void |
deleteRow(int no)
delete a specified row
|
quadbase.reportdesigner.report.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
|
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 IDatabaseInfopublic 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 indexpublic DataSheet(java.applet.Applet applet, quadbase.common.paramquery.QueryClassFileInfo queryFileInfo)
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 detailspublic 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 detailspublic 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 detailspublic 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 detailspublic 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 detailspublic 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 detailspublic DataSheet(java.applet.Applet applet, quadbase.common.paramquery.SOAPQueryFileInfo soapInfo)
applet
- the applet containing the report. Use "(Applet)null" if used within an applicationsoapInfo
- SOAP data source informationpublic 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 informationpublic DataSheet(java.applet.Applet applet, quadbase.common.util.internal.ExcelFileInfo excelInfo)
applet
- the applet containing the report. Use "(Applet)null" if used within an applicationexcelInfo
- Excel data source infopublic 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 indexpublic 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 detailspublic DataSheet(java.applet.Applet applet, quadbase.reportdesigner.report.ColData[] colData)
applet
- the applet containing the report. Use "(Applet)null" if used within an applicationcolData
- array of ColDatapublic 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 rowpublic void updateRow(java.lang.Object[] record, int no)
record
- the new row datano
- the row number to updatepublic 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.report.ColData[] getColData()