com.jrefinery.data
Interface IntervalCategoryDataset

All Superinterfaces:
CategoryDataset, Dataset, SeriesDataset
All Known Implementing Classes:
DefaultIntervalCategoryDataset, GanttSeriesCollection

public interface IntervalCategoryDataset
extends CategoryDataset

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

Author:
EM

Method Summary
 java.lang.Number getEndValue(int series, java.lang.Object category)
          Returns the max value for the specified series (zero-based index) and category.
 java.lang.Number getStartValue(int series, java.lang.Object category)
          Returns the min value for the specified series (zero-based index) and category.
 
Methods inherited from interface com.jrefinery.data.CategoryDataset
getCategories, getCategoryCount, getValue
 
Methods inherited from interface com.jrefinery.data.SeriesDataset
getSeriesCount, getSeriesName
 
Methods inherited from interface com.jrefinery.data.Dataset
addChangeListener, getGroup, removeChangeListener, setGroup
 

Method Detail

getStartValue

public java.lang.Number getStartValue(int series,
                                      java.lang.Object category)
Returns the min value for the specified series (zero-based index) and category.
Parameters:
series - the series index (zero-based).
category - the category.
Returns:
the min value.

getEndValue

public java.lang.Number getEndValue(int series,
                                    java.lang.Object category)
Returns the max value for the specified series (zero-based index) and category.
Parameters:
series - the series index (zero-based).
category - the category.
Returns:
the max value.