|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jrefinery.data.AbstractDataset | +--elge.storage.file.DataRecordCategoryDataset
Constructor Summary | |
DataRecordCategoryDataset(DataRecorder dr)
|
|
DataRecordCategoryDataset(DataRecorder dr,
List property)
|
|
DataRecordCategoryDataset(DataRecorder dr,
String property)
|
Method Summary | |
void |
addSeries(DataReader dr)
|
int |
getColumnCount()
Returns the number of columns in the table. |
int |
getColumnIndex(Comparable key)
Returns the column index for a given key. |
Comparable |
getColumnKey(int column)
Returns a column key. |
List |
getColumnKeys()
Returns the column keys. |
int |
getRowCount()
Returns the number of rows in the table. |
int |
getRowIndex(Comparable key)
Returns the row index for a given key. |
Comparable |
getRowKey(int row)
Returns a row key. |
List |
getRowKeys()
Returns the row keys. |
Number |
getValue(Comparable rowKey,
Comparable columnKey)
Returns the value for a pair of keys. |
Number |
getValue(int row,
int column)
Returns a value from the table. |
void |
update()
Notifies the listeners, that the data has been updates. |
Methods inherited from class com.jrefinery.data.AbstractDataset |
addChangeListener, fireDatasetChanged, getGroup, notifyListeners, removeChangeListener, setGroup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.jrefinery.data.Dataset |
addChangeListener, getGroup, removeChangeListener, setGroup |
Constructor Detail |
public DataRecordCategoryDataset(DataRecorder dr)
public DataRecordCategoryDataset(DataRecorder dr, String property)
public DataRecordCategoryDataset(DataRecorder dr, List property)
Method Detail |
public void addSeries(DataReader dr)
public int getColumnCount()
getColumnCount
in interface com.jrefinery.data.Values2D
public int getColumnIndex(Comparable key)
getColumnIndex
in interface com.jrefinery.data.KeyedValues2D
key
- the column key.
public Comparable getColumnKey(int column)
getColumnKey
in interface com.jrefinery.data.KeyedValues2D
column
- the column index (zero-based).
public List getColumnKeys()
getColumnKeys
in interface com.jrefinery.data.KeyedValues2D
public int getRowCount()
getRowCount
in interface com.jrefinery.data.Values2D
public int getRowIndex(Comparable key)
getRowIndex
in interface com.jrefinery.data.KeyedValues2D
key
- the row key.
public Comparable getRowKey(int row)
getRowKey
in interface com.jrefinery.data.KeyedValues2D
row
- the row index (zero-based).
public List getRowKeys()
getRowKeys
in interface com.jrefinery.data.KeyedValues2D
public Number getValue(Comparable rowKey, Comparable columnKey)
This method should return null if either of the keys is not found.
getValue
in interface com.jrefinery.data.KeyedValues2D
rowKey
- the row key.columnKey
- the column key.
public Number getValue(int row, int column)
getValue
in interface com.jrefinery.data.Values2D
row
- the row index (zero-based).column
- the column index (zero-based).
public void update()
DataStorageDataset
update
in interface DataStorageDataset
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |