public interface IDynamicTable
Modifier and Type | Method and Description |
---|---|
void |
addData(java.util.ArrayList<java.lang.Object> data)
Add to some rows to the data.
|
int |
appendRow()
Appends another row to the table.
|
java.lang.Object |
getCell(int row,
int col)
Returns cell contents
|
int |
getColumnCount()
Gets the number of columns in the table
|
int |
getIndex()
Returns index of tablesData
|
java.lang.String |
getlabel()
Deprecated.
This function was replaced by getTableName()
|
int |
getRowCount()
Gets the number of rows in the table
|
java.util.ArrayList |
getTableData()
Returns data - result of statement(table)
|
java.lang.String |
getTableName()
Gets the name of this table
|
void |
removeAllRows()
Removes all therows from the table
|
void |
setCell(int row,
int col,
java.lang.Object newValue)
Sets a new value for a specified cell
This function only works if the cell has the requested row number (otherwise
the row must be first added by appendRow).
|
void |
setdata(java.util.ArrayList<java.util.ArrayList<java.lang.Object>> data)
Sets the tables data
|
void |
setIndex(int index)
Set index
|
int appendRow()
int getRowCount()
int getColumnCount()
java.lang.Object getCell(int row, int col)
row
- Cell's row number (0..Rows()-1)col
- Cell's column number (0..Columns()-1)void setCell(int row, int col, java.lang.Object newValue)
row
- The row number for the cellcol
- The column number for the cellnewValue
- The new value to be put in the celljava.lang.String getTableName()
int getIndex()
java.lang.String getlabel()
java.util.ArrayList getTableData()
void setIndex(int index)
index
- cvoid setdata(java.util.ArrayList<java.util.ArrayList<java.lang.Object>> data)
data
- cvoid addData(java.util.ArrayList<java.lang.Object> data)
data
- xvoid removeAllRows()
Documentation Feedback
Copyright 2012 Micro Focus or one of its affiliates.