|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.data.AbstractDataset
org.jfree.data.statistics.DefaultBoxAndWhiskerCategoryDataset
A convenience class that provides a default implementation of the
BoxAndWhiskerCategoryDataset interface.
| Field Summary | |
protected KeyedObjects2D |
data
Storage for the data. |
| Constructor Summary | |
DefaultBoxAndWhiskerCategoryDataset()
Creates a new dataset. |
|
| Method Summary | |
void |
add(BoxAndWhiskerItem item,
java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
Adds a list of values relating to one Box and Whisker entity to the table. |
void |
add(java.util.List list,
java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
Adds a list of values relating to one Box and Whisker entity to the table. |
boolean |
equals(java.lang.Object obj)
Tests this dataset for equality with an arbitrary object. |
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 |
getMaxOutlier(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
Returns the maximum outlier (non farout) value for an item. |
java.lang.Number |
getMaxOutlier(int row,
int column)
Returns the maximum outlier (non farout) value for an item. |
java.lang.Number |
getMaxRegularValue(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
Returns the maximum regular (non outlier) value for an item. |
java.lang.Number |
getMaxRegularValue(int row,
int column)
Returns the maximum regular (non outlier) value for an item. |
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 |
getMedianValue(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
Returns the median value for an item. |
java.lang.Number |
getMedianValue(int row,
int column)
Returns the median 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). |
java.lang.Number |
getMinOutlier(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
Returns the minimum outlier (non farout) value for an item. |
java.lang.Number |
getMinOutlier(int row,
int column)
Returns the minimum outlier (non farout) value for an item. |
java.lang.Number |
getMinRegularValue(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
Returns the minimum regular (non outlier) value for an item. |
java.lang.Number |
getMinRegularValue(int row,
int column)
Returns the minimum regular (non outlier) value for an item. |
java.util.List |
getOutliers(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
Returns a list of outlier values for an item. |
java.util.List |
getOutliers(int row,
int column)
Returns a list of outlier values for an item. |
java.lang.Number |
getQ1Value(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
Returns the first quartile value. |
java.lang.Number |
getQ1Value(int row,
int column)
Returns the first quartile value. |
java.lang.Number |
getQ3Value(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
Returns the third quartile value. |
java.lang.Number |
getQ3Value(int row,
int column)
Returns the third quartile value. |
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 |
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, clone, fireDatasetChanged, getGroup, notifyListeners, removeChangeListener, setGroup, validateObject |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jfree.data.Dataset |
addChangeListener, getGroup, removeChangeListener, setGroup |
| Field Detail |
protected KeyedObjects2D data
| Constructor Detail |
public DefaultBoxAndWhiskerCategoryDataset()
| Method Detail |
public java.lang.Number getValue(int row,
int column)
getValue in interface Values2Drow - the row index.column - the column index.
public java.lang.Number getValue(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
getValue in interface KeyedValues2DrowKey - the row key.columnKey - the columnKey.
public java.lang.Number getMeanValue(int row,
int column)
getMeanValue in interface BoxAndWhiskerCategoryDatasetrow - the row index (zero-based).column - the column index (zero-based).
public java.lang.Number getMeanValue(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
getMeanValue in interface BoxAndWhiskerCategoryDatasetrowKey - the row key.columnKey - the column key.
public java.lang.Number getMedianValue(int row,
int column)
getMedianValue in interface BoxAndWhiskerCategoryDatasetrow - the row index (zero-based).column - the column index (zero-based).
public java.lang.Number getMedianValue(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
getMedianValue in interface BoxAndWhiskerCategoryDatasetrowKey - the row key.columnKey - the columnKey.
public java.lang.Number getQ1Value(int row,
int column)
getQ1Value in interface BoxAndWhiskerCategoryDatasetrow - the row index (zero-based).column - the column index (zero-based).
public java.lang.Number getQ1Value(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
getQ1Value in interface BoxAndWhiskerCategoryDatasetrowKey - the row key.columnKey - the column key.
public java.lang.Number getQ3Value(int row,
int column)
getQ3Value in interface BoxAndWhiskerCategoryDatasetrow - the row index (zero-based).column - the column index (zero-based).
public java.lang.Number getQ3Value(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
getQ3Value in interface BoxAndWhiskerCategoryDatasetrowKey - the row key.columnKey - the column key.
public int getColumnIndex(java.lang.Comparable key)
getColumnIndex in interface KeyedValues2Dkey - the column key.
public java.lang.Comparable getColumnKey(int column)
getColumnKey in interface KeyedValues2Dcolumn - the column index (zero-based).
public java.util.List getColumnKeys()
getColumnKeys in interface KeyedValues2Dpublic int getRowIndex(java.lang.Comparable key)
getRowIndex in interface KeyedValues2Dkey - the row key.
public java.lang.Comparable getRowKey(int row)
getRowKey in interface KeyedValues2Drow - the row index (zero-based).
public java.util.List getRowKeys()
getRowKeys in interface KeyedValues2Dpublic int getRowCount()
getRowCount in interface Values2Dpublic int getColumnCount()
getColumnCount in interface Values2D
public void add(java.util.List list,
java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
list - a collection of values from which the various medians will be calculated.rowKey - the row key.columnKey - the column key.
public void add(BoxAndWhiskerItem item,
java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
item - a box and whisker item.rowKey - the row key.columnKey - the column key.public java.lang.Number getMinimumRangeValue()
getMinimumRangeValue in interface RangeInfopublic java.lang.Number getMaximumRangeValue()
getMaximumRangeValue in interface RangeInfopublic Range getValueRange()
getValueRange in interface RangeInfo
public java.lang.Number getMinRegularValue(int row,
int column)
getMinRegularValue in interface BoxAndWhiskerCategoryDatasetrow - the row index (zero-based).column - the column index (zero-based).
public java.lang.Number getMinRegularValue(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
getMinRegularValue in interface BoxAndWhiskerCategoryDatasetrowKey - the row key.columnKey - the column key.
public java.lang.Number getMaxRegularValue(int row,
int column)
getMaxRegularValue in interface BoxAndWhiskerCategoryDatasetrow - the row index (zero-based).column - the column index (zero-based).
public java.lang.Number getMaxRegularValue(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
getMaxRegularValue in interface BoxAndWhiskerCategoryDatasetrowKey - the row key.columnKey - the column key.
public java.lang.Number getMinOutlier(int row,
int column)
getMinOutlier in interface BoxAndWhiskerCategoryDatasetrow - the row index (zero-based).column - the column index (zero-based).
public java.lang.Number getMinOutlier(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
getMinOutlier in interface BoxAndWhiskerCategoryDatasetrowKey - the row key.columnKey - the column key.
public java.lang.Number getMaxOutlier(int row,
int column)
getMaxOutlier in interface BoxAndWhiskerCategoryDatasetrow - the row index (zero-based).column - the column index (zero-based).
public java.lang.Number getMaxOutlier(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
getMaxOutlier in interface BoxAndWhiskerCategoryDatasetrowKey - the row key.columnKey - the column key.
public java.util.List getOutliers(int row,
int column)
getOutliers in interface BoxAndWhiskerCategoryDatasetrow - the row index (zero-based).column - the column index (zero-based).
public java.util.List getOutliers(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
getOutliers in interface BoxAndWhiskerCategoryDatasetrowKey - the row key.columnKey - the column key.
public boolean equals(java.lang.Object obj)
obj - the object to test against (null permitted).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||