org.jfree.data
Interface IntervalCategoryDataset

All Superinterfaces:
CategoryDataset, Dataset, KeyedValues2D, Values2D
All Known Subinterfaces:
MultiIntervalCategoryDataset
All Known Implementing Classes:
DefaultIntervalCategoryDataset, TaskSeriesCollection

public interface IntervalCategoryDataset
extends CategoryDataset

A category dataset that defines a value range for each series/category combination.

Author:
Eduard Martinescu

Method Summary
 java.lang.Number getEndValue(java.lang.Comparable series, java.lang.Comparable category)
          Returns the end value for the interval for a given series and category.
 java.lang.Number getEndValue(int series, int category)
          Returns the end value for the interval for a given series and category.
 java.lang.Number getStartValue(java.lang.Comparable series, java.lang.Comparable category)
          Returns the start value for the interval for a given series and category.
 java.lang.Number getStartValue(int series, int category)
          Returns the start value for the interval for a given series and category.
 
Methods inherited from interface org.jfree.data.KeyedValues2D
getColumnIndex, getColumnKey, getColumnKeys, getRowIndex, getRowKey, getRowKeys, getValue
 
Methods inherited from interface org.jfree.data.Values2D
getColumnCount, getRowCount, getValue
 
Methods inherited from interface org.jfree.data.Dataset
addChangeListener, getGroup, removeChangeListener, setGroup
 

Method Detail

getStartValue

public java.lang.Number getStartValue(int series,
                                      int category)
Returns the start value for the interval for a given series and category.

Parameters:
series - the series (zero-based index).
category - the category (zero-based index).
Returns:
the start value (possibly null).

getStartValue

public java.lang.Number getStartValue(java.lang.Comparable series,
                                      java.lang.Comparable category)
Returns the start value for the interval for a given series and category.

Parameters:
series - the series key.
category - the category key.
Returns:
the start value (possibly null).

getEndValue

public java.lang.Number getEndValue(int series,
                                    int category)
Returns the end value for the interval for a given series and category.

Parameters:
series - the series (zero-based index).
category - the category (zero-based index).
Returns:
the end value (possibly null).

getEndValue

public java.lang.Number getEndValue(java.lang.Comparable series,
                                    java.lang.Comparable category)
Returns the end value for the interval for a given series and category.

Parameters:
series - the series key.
category - the category key.
Returns:
the end value (possibly null).