org.jfree.data.category

Interface IntervalCategoryDataset

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

public interface IntervalCategoryDataset
extends CategoryDataset

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

Method Summary

Number
getEndValue(Comparable series, Comparable category)
Returns the end value for the interval for a given series and category.
Number
getEndValue(int series, int category)
Returns the end value for the interval for a given series and category.
Number
getStartValue(Comparable series, Comparable category)
Returns the start value for the interval for a given series and category.
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.general.Dataset

addChangeListener, getGroup, removeChangeListener, setGroup

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

Method Details

getEndValue

public Number getEndValue(Comparable series,
                          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).

getEndValue

public 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).

getStartValue

public Number getStartValue(Comparable series,
                            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).

getStartValue

public 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).