org.jfree.data
public interface KeyedValues2D extends Values2D
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.
|
Parameters: key the column key.
Returns: The column index, or -1
if the key is unrecognised.
Parameters: column the column index (zero-based).
Returns: The column key.
Throws: IndexOutOfBoundsException if row
is out of bounds.
Returns: The keys.
Parameters: key the row key.
Returns: The row index, or -1
if the key is unrecognised.
Parameters: row the row index (zero-based).
Returns: The row key.
Throws: IndexOutOfBoundsException if row
is out of bounds.
Returns: The keys.
Parameters: rowKey the row key (null
not permitted). columnKey the column key (null
not permitted).
Returns: The value.
Throws: UnknownKeyException if either key is not recognised.