|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSource
Immutable view on a source for tabular data.
Method Summary | |
---|---|
void |
addDataListener(DataListener dataListener)
Adds the specified DataListener to this DataSource. |
Number |
get(int col,
int row)
Returns the row with the specified index. |
Column |
getColumn(int col)
Returns the column with the specified index. |
int |
getColumnCount()
Returns the number of columns of the data source. |
Row |
getRow(int row)
Returns the row with the specified index. |
int |
getRowCount()
Returns the number of rows of the data source. |
Statistics |
getStatistics()
Retrieves a object instance that contains various statistical information on the current data source. |
void |
removeDataListener(DataListener dataListener)
Adds the specified DataListener from this DataSource. |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
Column getColumn(int col)
col
- index of the column to return
Row getRow(int row)
row
- index of the row to return
Number get(int col, int row)
col
- index of the column to returnrow
- index of the row to return
Statistics getStatistics()
int getRowCount()
int getColumnCount()
void addDataListener(DataListener dataListener)
dataListener
- listener to be addedvoid removeDataListener(DataListener dataListener)
dataListener
- listener to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |