|
JFreeChart 1.0.14-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyedValues2D
An extension of the Values2D
interface where a unique key is
associated with the row and column indices.
Method Summary | |
---|---|
int |
getColumnIndex(Comparable key)
Returns the column index for a given key. |
Comparable |
getColumnKey(int column)
Returns the column key for a given index. |
List |
getColumnKeys()
Returns the column keys. |
int |
getRowIndex(Comparable key)
Returns the row index for a given key. |
Comparable |
getRowKey(int row)
Returns the row key for a given index. |
List |
getRowKeys()
Returns the row keys. |
Number |
getValue(Comparable rowKey,
Comparable columnKey)
Returns the value associated with the specified keys. |
Methods inherited from interface org.jfree.data.Values2D |
---|
getColumnCount, getRowCount, getValue |
Method Detail |
---|
Comparable getRowKey(int row)
row
- the row index (zero-based).
IndexOutOfBoundsException
- if row
is out of bounds.int getRowIndex(Comparable key)
key
- the row key.
-1
if the key is unrecognised.List getRowKeys()
Comparable getColumnKey(int column)
column
- the column index (zero-based).
IndexOutOfBoundsException
- if row
is out of bounds.int getColumnIndex(Comparable key)
key
- the column key.
-1
if the key is unrecognised.List getColumnKeys()
Number getValue(Comparable rowKey, Comparable columnKey)
rowKey
- the row key (null
not permitted).columnKey
- the column key (null
not permitted).
UnknownKeyException
- if either key is not recognised.
|
JFreeChart 1.0.14-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |