|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.pf.data.DatasetAdapterBase de.grogra.pf.data.StatisticsAdapter
public final class StatisticsAdapter
Constructor Summary | |
---|---|
StatisticsAdapter(Dataset ds)
|
Method Summary | |
---|---|
int |
getColumnCount()
Returns the number of columns in the table. |
int |
getColumnIndex(java.lang.Comparable key)
Returns the column index for a given key. |
java.lang.Comparable |
getColumnKey(int column)
Returns the column key for a given index. |
java.util.List |
getColumnKeys()
Returns the column keys. |
java.lang.Number |
getMeanValue(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
Returns the mean value for an item. |
java.lang.Number |
getMeanValue(int row,
int column)
Returns the mean value for an item. |
int |
getRowCount()
Returns the number of rows in the table. |
int |
getRowIndex(java.lang.Comparable key)
Returns the row index for a given key. |
java.lang.Comparable |
getRowKey(int row)
Returns the row key for a given index. |
java.util.List |
getRowKeys()
Returns the row keys. |
java.lang.Number |
getStdDevValue(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
Returns the standard deviation value for an item. |
java.lang.Number |
getStdDevValue(int row,
int column)
Returns the standard deviation value for an item. |
java.lang.Number |
getValue(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
Returns the value associated with the specified keys. |
java.lang.Number |
getValue(int row,
int column)
Returns a value from the table. |
Methods inherited from class de.grogra.pf.data.DatasetAdapterBase |
---|
addChangeListener, getDomainOrder, getGroup, getSeriesCount, getSeriesKey, indexOf, removeChangeListener, setGroup |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jfree.data.general.Dataset |
---|
addChangeListener, getGroup, removeChangeListener, setGroup |
Constructor Detail |
---|
public StatisticsAdapter(Dataset ds)
Method Detail |
---|
public int getColumnCount()
org.jfree.data.Values2D
getColumnCount
in interface org.jfree.data.Values2D
public int getColumnIndex(java.lang.Comparable key)
org.jfree.data.KeyedValues2D
getColumnIndex
in interface org.jfree.data.KeyedValues2D
key
- the column key.
-1
if the key is unrecognised.public java.lang.Comparable getColumnKey(int column)
org.jfree.data.KeyedValues2D
getColumnKey
in interface org.jfree.data.KeyedValues2D
column
- the column index (zero-based).
public java.util.List getColumnKeys()
org.jfree.data.KeyedValues2D
getColumnKeys
in interface org.jfree.data.KeyedValues2D
public java.lang.Number getMeanValue(java.lang.Comparable rowKey, java.lang.Comparable columnKey)
org.jfree.data.statistics.StatisticalCategoryDataset
getMeanValue
in interface org.jfree.data.statistics.StatisticalCategoryDataset
rowKey
- the row key.columnKey
- the columnKey.
public java.lang.Number getMeanValue(int row, int column)
org.jfree.data.statistics.StatisticalCategoryDataset
getMeanValue
in interface org.jfree.data.statistics.StatisticalCategoryDataset
row
- the row index (zero-based).column
- the column index (zero-based).
public int getRowCount()
org.jfree.data.Values2D
getRowCount
in interface org.jfree.data.Values2D
public int getRowIndex(java.lang.Comparable key)
org.jfree.data.KeyedValues2D
getRowIndex
in interface org.jfree.data.KeyedValues2D
key
- the row key.
-1
if the key is unrecognised.public java.lang.Comparable getRowKey(int row)
org.jfree.data.KeyedValues2D
getRowKey
in interface org.jfree.data.KeyedValues2D
row
- the row index (zero-based).
public java.util.List getRowKeys()
org.jfree.data.KeyedValues2D
getRowKeys
in interface org.jfree.data.KeyedValues2D
public java.lang.Number getStdDevValue(java.lang.Comparable rowKey, java.lang.Comparable columnKey)
org.jfree.data.statistics.StatisticalCategoryDataset
getStdDevValue
in interface org.jfree.data.statistics.StatisticalCategoryDataset
rowKey
- the row key.columnKey
- the columnKey.
public java.lang.Number getStdDevValue(int row, int column)
org.jfree.data.statistics.StatisticalCategoryDataset
getStdDevValue
in interface org.jfree.data.statistics.StatisticalCategoryDataset
row
- the row index (zero-based).column
- the column index (zero-based).
public java.lang.Number getValue(java.lang.Comparable rowKey, java.lang.Comparable columnKey)
org.jfree.data.KeyedValues2D
getValue
in interface org.jfree.data.KeyedValues2D
rowKey
- the row key (null
not permitted).columnKey
- the column key (null
not permitted).
public java.lang.Number getValue(int row, int column)
org.jfree.data.Values2D
getValue
in interface org.jfree.data.Values2D
row
- the row index (zero-based).column
- the column index (zero-based).
null
).
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |