KickJava   Java API By Example, From Geeks To Geeks.

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


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  * TableXYDataset.java
24  * --------------
25  * (C) Copyright 2000-2003, by Richard Atkinson and contributors.
26  *
27  * Original Author: Richard Atkinson;
28  * Contributor(s): -;
29  *
30  * $Id: TableXYDataset.java,v 1.7 2003/09/22 19:01:56 ratkinso Exp $
31  *
32  * Changes
33  * --------------------------
34  * 22-Sep-2003 : Changed to be an interface. Previous functionality moved to DefaultTableXYDataset;
35  *
36  */

37 package org.jfree.data;
38
39 /**
40  * An Interface to represent XY data in a table format so that each series is
41  * guaranteed to have the same number of items. This is used primarily by
42  * the StackedAreaXYRenderer. The functionality that used to be implemented
43  * here is now in {@link DefaultTableXYDataset}.
44  */

45 public interface TableXYDataset extends XYDataset {
46
47     /**
48      * Returns the number of items every series.
49      *
50      * @return the number of items within the series.
51      */

52     public int getItemCount();
53
54 }
55
Popular Tags