|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.fdsapi.TabularDataBase
Base class for TabularData that provides standard default behaviour for the TabularData interface.
View Code
| Field Summary | |
protected DataIterator |
colIterator
|
protected DataIterator |
rowIterator
|
| Fields inherited from interface com.fdsapi.TabularData |
NOTUSED |
| Constructor Summary | |
protected |
TabularDataBase()
|
protected |
TabularDataBase(int numRows,
int numCols)
|
| Method Summary | |
protected void |
createColIterator(int numCols)
|
abstract TabularData |
createInstance(java.lang.Object data)
Factory method that returns a TabularData instance. |
protected void |
createRowIterator(int numRows)
|
abstract java.lang.Object |
getCellData()
Return current cell data (the current row and current column) |
abstract java.lang.Object |
getCellData(int col)
Return cell data in the current rows specified column |
DataIterator |
getColIterator()
Return the Iterator that can iterate through the TabularData's columns |
TabularData |
getHeader()
Get the Header (which is also TabularData) |
DataIterator |
getRowIterator()
Return the Iterator that can iterate through the TabularData's rows |
void |
setHeader(TabularData header)
Set the Header (which is also TabularData) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected DataIterator rowIterator
protected DataIterator colIterator
| Constructor Detail |
protected TabularDataBase()
protected TabularDataBase(int numRows,
int numCols)
| Method Detail |
public abstract java.lang.Object getCellData(int col)
TabularData
getCellData in interface TabularDatapublic abstract java.lang.Object getCellData()
TabularData
getCellData in interface TabularDatapublic abstract TabularData createInstance(java.lang.Object data)
TabularData
createInstance in interface TabularDatapublic DataIterator getRowIterator()
TabularData
getRowIterator in interface TabularDatapublic DataIterator getColIterator()
TabularData
getColIterator in interface TabularDataprotected void createRowIterator(int numRows)
protected void createColIterator(int numCols)
public TabularData getHeader()
TabularData
getHeader in interface TabularDatapublic void setHeader(TabularData header)
TabularData
setHeader in interface TabularData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||