KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jfree > data > CategoryDataset


1 /* ======================================
2  * JFreeChart : a free Java chart library
3  * ======================================
4  *
5  * Project Info: http://www.jfree.org/jfreechart/index.html
6  * Project Lead: David Gilbert (david.gilbert@object-refinery.com);
7  *
8  * (C) Copyright 2000-2003, by Object Refinery Limited and Contributors.
9  *
10  * This library is free software; you can redistribute it and/or modify it under the terms
11  * of the GNU Lesser General Public License as published by the Free Software Foundation;
12  * either version 2.1 of the License, or (at your option) any later version.
13  *
14  * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
15  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  * See the GNU Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License along with this
19  * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
20  * Boston, MA 02111-1307, USA.
21  *
22  * --------------------
23  * CategoryDataset.java
24  * --------------------
25  * (C) Copyright 2000-2003, by Object Refinery Limited.
26  *
27  * Original Author: David Gilbert (for Object Refinery Limited);
28  * Contributor(s): -;
29  *
30  * $Id: CategoryDataset.java,v 1.2 2003/06/04 22:58:26 mungady Exp $
31  *
32  * Changes (from 21-Aug-2001)
33  * --------------------------
34  * 21-Aug-2001 : Added standard header. Fixed DOS encoding problem (DG);
35  * 18-Sep-2001 : Updated e-mail address in header (DG);
36  * 15-Oct-2001 : Moved to new package (com.jrefinery.data.*) (DG);
37  * 22-Oct-2001 : Renamed DataSource.java --> Dataset.java etc. (DG);
38  * 17-Nov-2001 : Updated Javadoc comments (DG);
39  * 04-Mar-2002 : Updated import statement (DG);
40  * 23-Oct-2002 : Reorganised code (DG);
41  * 10-Jan-2003 : Updated Javadocs (DG);
42  * 21-Jan-2003 : Merged with TableDataset (which only existed in CVS) (DG);
43  * 13-Mar-2003 : Added KeyedValues2DDataset interface (DG);
44  * 23-Apr-2003 : Switched CategoryDataset and KeyedValues2DDataset so that CategoryDataset is
45  * the super interface (DG);
46  *
47  */

48
49 package org.jfree.data;
50
51 /**
52  * The interface for a dataset with one or more series, and values associated with categories.
53  * <P>
54  * The categories are represented by <code>Comparable</code> instance, with the category label
55  * being provided by the <code>toString</code> method.
56  *
57  * @author David Gilbert
58  */

59 public interface CategoryDataset extends KeyedValues2D, Dataset {
60
61     // no additional methods required
62

63 }
64
Popular Tags