ca.odell.glazedlists.jfreechart
Class SimpleEventCategoryDataset.Context<R,C>

java.lang.Object
  extended by ca.odell.glazedlists.jfreechart.SimpleEventCategoryDataset.Context<R,C>
Enclosing class:
SimpleEventCategoryDataset<R extends Comparable,C extends Comparable>

public static final class SimpleEventCategoryDataset.Context<R,C>
extends Object

This object describes a cell within the "matrix" that is defined by CategoryDataset. Specifically, it does this by providing the row key and column key of the cell in question.


Constructor Summary
SimpleEventCategoryDataset.Context(EventList<R> rowKeys, EventList<C> columnKeys)
           
 
Method Summary
 int getColumnIndex()
          Returns the column index for the column of the data value to retrieve.
 C getColumnKey()
          Returns the column key for the column of the data value to retrieve.
 EventList<C> getColumnKeys()
           
 int getRowIndex()
          Returns the row index for the row of the data value to retrieve.
 R getRowKey()
          Returns the row key for the row of the data value to retrieve.
 EventList<R> getRowKeys()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleEventCategoryDataset.Context

public SimpleEventCategoryDataset.Context(EventList<R> rowKeys,
                                          EventList<C> columnKeys)
Method Detail

getRowKeys

public EventList<R> getRowKeys()

getColumnKeys

public EventList<C> getColumnKeys()

getRowIndex

public int getRowIndex()
Returns the row index for the row of the data value to retrieve.


getColumnIndex

public int getColumnIndex()
Returns the column index for the column of the data value to retrieve.


getRowKey

public R getRowKey()
Returns the row key for the row of the data value to retrieve.


getColumnKey

public C getColumnKey()
Returns the column key for the column of the data value to retrieve.



Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by mockbuild at 2013-02-07 9:25