|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jfree.data.AbstractDataset | +--org.jfree.data.DefaultStatisticalCategoryDataset
A convenience class that provides a default implementation of the
StatisticalCategoryDataset
interface.
The standard constructor accepts data in a two dimensional array where the first dimension is the series, and the second dimension is the category.
Constructor Summary | |
DefaultStatisticalCategoryDataset()
Creates a new dataset. |
Method Summary | |
void |
add(double mean,
double standardDeviation,
java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
Adds a mean and standard deviation to the table. |
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 a column key. |
java.util.List |
getColumnKeys()
Returns the column keys. |
java.lang.Number |
getMaximumRangeValue()
Returns the maximum value in the dataset's range (or null if all the values in the range are null). |
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. |
java.lang.Number |
getMinimumRangeValue()
Returns the minimum value in the dataset's range (or null if all the values in the range are null). |
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 a row key. |
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 for an item. |
java.lang.Number |
getValue(int row,
int column)
Returns the value for an item. |
Range |
getValueRange()
Returns the range of the values in this dataset's range. |
Methods inherited from class org.jfree.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 org.jfree.data.Dataset |
addChangeListener, getGroup, removeChangeListener, setGroup |
Constructor Detail |
public DefaultStatisticalCategoryDataset()
Method Detail |
public java.lang.Number getMeanValue(int row, int column)
getMeanValue
in interface StatisticalCategoryDataset
row
- the row index (zero-based).column
- the column index (zero-based).
public java.lang.Number getValue(int row, int column)
getValue
in interface Values2D
row
- the row index.column
- the column index.
public java.lang.Number getValue(java.lang.Comparable rowKey, java.lang.Comparable columnKey)
getValue
in interface KeyedValues2D
rowKey
- the row key.columnKey
- the columnKey.
public java.lang.Number getMeanValue(java.lang.Comparable rowKey, java.lang.Comparable columnKey)
getMeanValue
in interface StatisticalCategoryDataset
rowKey
- the row key.columnKey
- the columnKey.
public java.lang.Number getStdDevValue(int row, int column)
getStdDevValue
in interface StatisticalCategoryDataset
row
- the row index (zero-based).column
- the column index (zero-based).
public java.lang.Number getStdDevValue(java.lang.Comparable rowKey, java.lang.Comparable columnKey)
getStdDevValue
in interface StatisticalCategoryDataset
rowKey
- the row key.columnKey
- the columnKey.
public int getColumnIndex(java.lang.Comparable key)
getColumnIndex
in interface KeyedValues2D
key
- the column key.
public java.lang.Comparable getColumnKey(int column)
getColumnKey
in interface KeyedValues2D
column
- the column index (zero-based).
public java.util.List getColumnKeys()
getColumnKeys
in interface KeyedValues2D
public int getRowIndex(java.lang.Comparable key)
getRowIndex
in interface KeyedValues2D
key
- the row key.
public java.lang.Comparable getRowKey(int row)
getRowKey
in interface KeyedValues2D
row
- the row index (zero-based).
public java.util.List getRowKeys()
getRowKeys
in interface KeyedValues2D
public int getRowCount()
getRowCount
in interface Values2D
public int getColumnCount()
getColumnCount
in interface Values2D
public void add(double mean, double standardDeviation, java.lang.Comparable rowKey, java.lang.Comparable columnKey)
mean
- the mean.standardDeviation
- the standard deviation.rowKey
- the row key.columnKey
- the column key.public java.lang.Number getMinimumRangeValue()
getMinimumRangeValue
in interface RangeInfo
public java.lang.Number getMaximumRangeValue()
getMaximumRangeValue
in interface RangeInfo
public Range getValueRange()
getValueRange
in interface RangeInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |