de.grogra.pf.data
public final class DatasetAdapter extends DatasetAdapterBase implements org.jfree.data.general.ValueDataset, org.jfree.data.general.KeyedValueDataset, org.jfree.data.category.CategoryDataset, org.jfree.data.general.PieDataset, org.jfree.data.general.SeriesDataset, org.jfree.data.xy.XYDataset, org.jfree.data.xy.TableXYDataset, org.jfree.data.xy.XYZDataset, org.jfree.data.statistics.StatisticalCategoryDataset
| Modifier and Type | Method and Description |
|---|---|
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.
|
int |
getIndex(java.lang.Comparable key)
Returns the index for a given key.
|
int |
getItemCount()
Returns the number of items (values) in the collection.
|
int |
getItemCount(int series)
Returns the number of items in a series.
|
java.lang.Comparable |
getKey()
Returns the key associated with the value.
|
java.lang.Comparable |
getKey(int index)
Returns the key associated with an item (value).
|
java.util.List |
getKeys()
Returns the keys for the values in the collection.
|
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()
Returns the value.
|
java.lang.Number |
getValue(java.lang.Comparable key)
Returns the value for a given key.
|
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 item)
Returns a value.
|
java.lang.Number |
getValue(int row,
int column)
Returns a value from the table.
|
java.lang.Number |
getX(int series,
int item)
Returns the x-value for an item within a series.
|
double |
getXValue(int series,
int item)
Returns the x-value (as a double primitive) for an item within a series.
|
java.lang.Number |
getY(int series,
int item)
Returns the y-value for an item within a series.
|
double |
getYValue(int series,
int item)
Returns the y-value (as a double primitive) for an item within a series.
|
java.lang.Number |
getZ(int series,
int item)
Returns the z-value for the specified series and item.
|
double |
getZValue(int series,
int item)
Returns the z-value (as a double primitive) for an item within a series.
|
addChangeListener, getDomainOrder, getGroup, getSeriesCount, getSeriesKey, indexOf, removeChangeListener, setGroupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic int getColumnCount()
org.jfree.data.Values2DgetColumnCount in interface org.jfree.data.Values2Dpublic int getColumnIndex(java.lang.Comparable key)
org.jfree.data.KeyedValues2DgetColumnIndex in interface org.jfree.data.KeyedValues2Dkey - the column key.-1 if the key is unrecognised.public java.lang.Comparable getColumnKey(int column)
org.jfree.data.KeyedValues2DgetColumnKey in interface org.jfree.data.KeyedValues2Dcolumn - the column index (zero-based).public java.util.List getColumnKeys()
org.jfree.data.KeyedValues2DgetColumnKeys in interface org.jfree.data.KeyedValues2Dpublic int getIndex(java.lang.Comparable key)
org.jfree.data.KeyedValuesgetIndex in interface org.jfree.data.KeyedValueskey - the key.-1 if the key is unrecognised.public int getItemCount()
org.jfree.data.ValuesgetItemCount in interface org.jfree.data.ValuesgetItemCount in interface org.jfree.data.xy.TableXYDatasetpublic int getItemCount(int series)
org.jfree.data.xy.XYDatasetgetItemCount in interface org.jfree.data.xy.XYDatasetseries - the series index (zero-based).public java.lang.Comparable getKey()
org.jfree.data.KeyedValuegetKey in interface org.jfree.data.KeyedValuepublic java.lang.Comparable getKey(int index)
org.jfree.data.KeyedValuesgetKey in interface org.jfree.data.KeyedValuesindex - the item index (zero-based).public java.util.List getKeys()
org.jfree.data.KeyedValuesgetKeys in interface org.jfree.data.KeyedValuesnull).public java.lang.Number getMeanValue(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
org.jfree.data.statistics.StatisticalCategoryDatasetgetMeanValue in interface org.jfree.data.statistics.StatisticalCategoryDatasetrowKey - the row key.columnKey - the columnKey.public java.lang.Number getMeanValue(int row,
int column)
org.jfree.data.statistics.StatisticalCategoryDatasetgetMeanValue in interface org.jfree.data.statistics.StatisticalCategoryDatasetrow - the row index (zero-based).column - the column index (zero-based).public int getRowCount()
org.jfree.data.Values2DgetRowCount in interface org.jfree.data.Values2Dpublic int getRowIndex(java.lang.Comparable key)
org.jfree.data.KeyedValues2DgetRowIndex in interface org.jfree.data.KeyedValues2Dkey - the row key.-1 if the key is unrecognised.public java.lang.Comparable getRowKey(int row)
org.jfree.data.KeyedValues2DgetRowKey in interface org.jfree.data.KeyedValues2Drow - the row index (zero-based).public java.util.List getRowKeys()
org.jfree.data.KeyedValues2DgetRowKeys in interface org.jfree.data.KeyedValues2Dpublic java.lang.Number getStdDevValue(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
org.jfree.data.statistics.StatisticalCategoryDatasetgetStdDevValue in interface org.jfree.data.statistics.StatisticalCategoryDatasetrowKey - the row key.columnKey - the columnKey.public java.lang.Number getStdDevValue(int row,
int column)
org.jfree.data.statistics.StatisticalCategoryDatasetgetStdDevValue in interface org.jfree.data.statistics.StatisticalCategoryDatasetrow - the row index (zero-based).column - the column index (zero-based).public java.lang.Number getValue()
org.jfree.data.ValuegetValue in interface org.jfree.data.Valuenull).public java.lang.Number getValue(java.lang.Comparable key)
org.jfree.data.KeyedValuesgetValue in interface org.jfree.data.KeyedValueskey - the key.null).public java.lang.Number getValue(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
org.jfree.data.KeyedValues2DgetValue in interface org.jfree.data.KeyedValues2DrowKey - the row key (null not permitted).columnKey - the column key (null not permitted).public java.lang.Number getValue(int item)
org.jfree.data.ValuesgetValue in interface org.jfree.data.Valuesitem - the item of interest (zero-based index).public java.lang.Number getValue(int row,
int column)
org.jfree.data.Values2DgetValue in interface org.jfree.data.Values2Drow - the row index (zero-based).column - the column index (zero-based).null).public java.lang.Number getX(int series,
int item)
org.jfree.data.xy.XYDatasetgetX in interface org.jfree.data.xy.XYDatasetseries - the series index (zero-based).item - the item index (zero-based).null).public double getXValue(int series,
int item)
org.jfree.data.xy.XYDatasetgetXValue in interface org.jfree.data.xy.XYDatasetseries - the series index (zero-based).item - the item index (zero-based).public java.lang.Number getY(int series,
int item)
org.jfree.data.xy.XYDatasetgetY in interface org.jfree.data.xy.XYDatasetseries - the series index (zero-based).item - the item index (zero-based).null).public double getYValue(int series,
int item)
org.jfree.data.xy.XYDatasetgetYValue in interface org.jfree.data.xy.XYDatasetseries - the series index (zero-based).item - the item index (zero-based).public java.lang.Number getZ(int series,
int item)
org.jfree.data.xy.XYZDatasetgetZ in interface org.jfree.data.xy.XYZDatasetseries - the series index (zero-based).item - the item index (zero-based).null).public double getZValue(int series,
int item)
org.jfree.data.xy.XYZDatasetgetZValue in interface org.jfree.data.xy.XYZDatasetseries - the series (zero-based index).item - the item (zero-based index).