Save This Page
Home » jcommon-1.0.13 » org.jfree » data » [javadoc | source]
org.jfree.data
public interface: KeyedValues2D [javadoc | source]

All Implemented Interfaces:
    Values2D

All Known Implementing Classes:
    DefaultMultiValueCategoryDataset, SlidingCategoryDataset, DefaultKeyedValues2D, DefaultCategoryDataset, BoxAndWhiskerCategoryDataset, CategoryDataset, IntervalCategoryDataset, MultiValueCategoryDataset, DefaultStatisticalCategoryDataset, StatisticalCategoryDataset, JDBCCategoryDataset, GanttCategoryDataset, KeyedValues2DDataset, DefaultIntervalCategoryDataset, DefaultKeyedValues2DDataset, DefaultBoxAndWhiskerCategoryDataset, TaskSeriesCollection, SlidingGanttCategoryDataset

An extension of the Values2D interface where a unique key is associated with the row and column indices.
Method from org.jfree.data.KeyedValues2D Summary:
getColumnIndex,   getColumnKey,   getColumnKeys,   getRowIndex,   getRowKey,   getRowKeys,   getValue
Method from org.jfree.data.KeyedValues2D Detail:
 public int getColumnIndex(Comparable key)
    Returns the column index for a given key.
 public Comparable getColumnKey(int column)
    Returns the column key for a given index.
 public List getColumnKeys()
    Returns the column keys.
 public int getRowIndex(Comparable key)
    Returns the row index for a given key.
 public Comparable getRowKey(int row)
    Returns the row key for a given index.
 public List getRowKeys()
    Returns the row keys.
 public Number getValue(Comparable rowKey,
    Comparable columnKey)
    Returns the value associated with the specified keys.