|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a table consisting of Atoms provided by
a ITabularDataSource.
| Method Summary | |
Atom |
getCell(int row,
int col)
Returns the value of a particular table cell |
Atom |
getCell(int row,
java.lang.String columnName)
Returns the value of a particular table cell |
int |
getColumnIndex(java.lang.String colName)
Returns the column index in the table of the column with the given header name |
java.lang.String |
getColumnName(int col)
Returns the header name of the n'th column in the table |
int |
numCols()
Returns the number of columns in this table |
int |
size()
Returns the number of rows in this table |
| Method Detail |
public int size()
public int numCols()
public Atom getCell(int row,
int col)
row - the zero based row index. Must be less than size() and greater equal zero.col - the zero based column index. Must be less than numCols() and greater equal zero.
java.lang.IllegalArgumentException - if row or col is
out of bounds.
public Atom getCell(int row,
java.lang.String columnName)
row - the zero based row index. Must be less than size() and greater equal zerocolumnName -
java.lang.IllegalArgumentException - if row is out of bounds or columnName
does not exist.public int getColumnIndex(java.lang.String colName)
colName - the column name
public java.lang.String getColumnName(int col)
col - the column index
java.lang.IllegalArgumentException - if col greater equal to numCols().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||