com.jrefinery.data
Interface MultiIntervalCategoryDataset

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

public interface MultiIntervalCategoryDataset
extends CategoryDataset

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


Method Summary
 void add(GanttSeries series)
           
 void addTask(java.lang.Object name)
           
 java.lang.Number getEndValue(int series, java.lang.Object category, int interval)
          Returns the max value for the specified series (zero-based index) and category.
 int getIntervalCount(int series, java.lang.Object category)
          Returns the number of interval value pairs defined for this series/category
 GanttSeries getSeries(int series)
          Returns the series associated with the object
 java.lang.Number getStartValue(int series, java.lang.Object category, int interval)
          Returns the min value for the specified series (zero-based index) and category.
 void removeTask(java.lang.String name)
           
 boolean taskPresent(java.lang.String name)
           
 
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, removeChangeListener
 

Method Detail

getIntervalCount

int getIntervalCount(int series,
                     java.lang.Object category)
Returns the number of interval value pairs defined for this series/category

Parameters:
series - The series index (zero-based).
category - The category.

getStartValue

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

Parameters:
series - The series index (zero-based).
category - The category.
interval - Index into array of EndValues for this series/category

getEndValue

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

Parameters:
series - The series index (zero-based).
category - The category.
interval - Zero based index into array of EndValues

getSeries

GanttSeries getSeries(int series)
Returns the series associated with the object


add

void add(GanttSeries series)

removeTask

void removeTask(java.lang.String name)

addTask

void addTask(java.lang.Object name)

taskPresent

boolean taskPresent(java.lang.String name)


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.