|
||||||||
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.DatasetAdapter
public final class DatasetAdapter
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. |
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. |
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.xy.XYDataset |
---|
getDomainOrder |
Methods inherited from interface org.jfree.data.general.SeriesDataset |
---|
getSeriesCount, getSeriesKey, indexOf |
Methods inherited from interface org.jfree.data.general.Dataset |
---|
addChangeListener, getGroup, removeChangeListener, setGroup |
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 int getIndex(java.lang.Comparable key)
org.jfree.data.KeyedValues
getIndex
in interface org.jfree.data.KeyedValues
key
- the key.
-1
if the key is unrecognised.public int getItemCount()
org.jfree.data.Values
getItemCount
in interface org.jfree.data.Values
getItemCount
in interface org.jfree.data.xy.TableXYDataset
public int getItemCount(int series)
org.jfree.data.xy.XYDataset
getItemCount
in interface org.jfree.data.xy.XYDataset
series
- the series index (zero-based).
public java.lang.Comparable getKey()
org.jfree.data.KeyedValue
getKey
in interface org.jfree.data.KeyedValue
public java.lang.Comparable getKey(int index)
org.jfree.data.KeyedValues
getKey
in interface org.jfree.data.KeyedValues
index
- the item index (zero-based).
public java.util.List getKeys()
org.jfree.data.KeyedValues
getKeys
in interface org.jfree.data.KeyedValues
null
).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()
org.jfree.data.Value
getValue
in interface org.jfree.data.Value
null
).public java.lang.Number getValue(java.lang.Comparable key)
org.jfree.data.KeyedValues
getValue
in interface org.jfree.data.KeyedValues
key
- the key.
null
).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 item)
org.jfree.data.Values
getValue
in interface org.jfree.data.Values
item
- the item of interest (zero-based index).
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
).public java.lang.Number getX(int series, int item)
org.jfree.data.xy.XYDataset
getX
in interface org.jfree.data.xy.XYDataset
series
- the series index (zero-based).item
- the item index (zero-based).
null
).public double getXValue(int series, int item)
org.jfree.data.xy.XYDataset
getXValue
in interface org.jfree.data.xy.XYDataset
series
- the series index (zero-based).item
- the item index (zero-based).
public java.lang.Number getY(int series, int item)
org.jfree.data.xy.XYDataset
getY
in interface org.jfree.data.xy.XYDataset
series
- the series index (zero-based).item
- the item index (zero-based).
null
).public double getYValue(int series, int item)
org.jfree.data.xy.XYDataset
getYValue
in interface org.jfree.data.xy.XYDataset
series
- the series index (zero-based).item
- the item index (zero-based).
public java.lang.Number getZ(int series, int item)
org.jfree.data.xy.XYZDataset
getZ
in interface org.jfree.data.xy.XYZDataset
series
- the series index (zero-based).item
- the item index (zero-based).
null
).public double getZValue(int series, int item)
org.jfree.data.xy.XYZDataset
getZValue
in interface org.jfree.data.xy.XYZDataset
series
- the series (zero-based index).item
- the item (zero-based index).
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |