com.jrefinery.data
Interface PieDataset

All Superinterfaces:
Dataset
All Known Implementing Classes:
DefaultPieDataset, JdbcPieDataset

public interface PieDataset
extends Dataset

The interface for a general-purpose dataset where values are associated with categories.


Method Summary
 java.util.List getCategories()
          Returns the categories in the dataset.
 java.lang.Number getValue(java.lang.Object category)
          Returns the value for a category.
 
Methods inherited from interface com.jrefinery.data.Dataset
addChangeListener, removeChangeListener
 

Method Detail

getCategories

java.util.List getCategories()
Returns the categories in the dataset.

Returns:
The categories.

getValue

java.lang.Number getValue(java.lang.Object category)
Returns the value for a category.

This method should return null if the category is not found.

Parameters:
category - The category.
Returns:
The value.


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.