|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.erichseifert.gral.data.AbstractDataSource
public abstract class AbstractDataSource
Abstract implementation of DataSource. This class provides:
Constructor Summary | |
---|---|
AbstractDataSource()
Creates a new AbstractDataSource object. |
Method Summary | |
---|---|
void |
addDataListener(DataListener dataListener)
Adds the specified DataListener to this DataSource. |
Column |
getColumn(int col)
Returns the column with the specified index. |
Row |
getRow(int row)
Returns the row with the specified index. |
Statistics |
getStatistics()
Retrieves a object instance that contains various statistical information on the current data source. |
Iterator<Number> |
iterator()
|
void |
removeDataListener(DataListener dataListener)
Adds the specified DataListener from this DataSource. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.erichseifert.gral.data.DataSource |
---|
get, getColumnCount, getRowCount |
Constructor Detail |
---|
public AbstractDataSource()
Method Detail |
---|
public Statistics getStatistics()
DataSource
getStatistics
in interface DataSource
public void addDataListener(DataListener dataListener)
DataSource
addDataListener
in interface DataSource
dataListener
- listener to be addedpublic void removeDataListener(DataListener dataListener)
DataSource
removeDataListener
in interface DataSource
dataListener
- listener to be removedpublic Iterator<Number> iterator()
iterator
in interface Iterable<Number>
public Column getColumn(int col)
DataSource
getColumn
in interface DataSource
col
- index of the column to return
public Row getRow(int row)
DataSource
getRow
in interface DataSource
row
- index of the row to return
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |