KickJava   Java API By Example, From Geeks To Geeks.

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


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  * IntervalXYZDataset.java
24  * -----------------------
25  * (C) Copyright 2001-2003, by Object Refinery Limited.
26  *
27  * Original Author: David Gilbert (for Object Refinery Limited);
28  * Contributor(s): -;
29  *
30  * $Id: IntervalXYZDataset.java,v 1.3 2003/07/10 07:16:45 mungady Exp $
31  *
32  * Changes
33  * -------
34  * 31-Oct-2001 : Version 1 (DG);
35  *
36  */

37
38 package org.jfree.data;
39
40 /**
41  * An extension of the {@link XYZDataset} interface that allows a range of data to be
42  * defined for any of the X values, the Y values, and the Z values.
43  *
44  * @author David Gilbert
45  */

46 public interface IntervalXYZDataset extends XYZDataset {
47
48     /**
49      * Returns the starting X value for the specified series and item.
50      *
51      * @param series the series (zero-based index).
52      * @param item the item within a series (zero-based index).
53      *
54      * @return the starting X value for the specified series and item.
55      */

56     public Number JavaDoc getStartXValue(int series, int item);
57
58     /**
59      * Returns the ending X value for the specified series and item.
60      *
61      * @param series the series (zero-based index).
62      * @param item the item within a series (zero-based index).
63      *
64      * @return the ending X value for the specified series and item.
65      */

66     public Number JavaDoc getEndXValue(int series, int item);
67
68     /**
69      * Returns the starting Y value for the specified series and item.
70      *
71      * @param series the series (zero-based index).
72      * @param item the item within a series (zero-based index).
73      *
74      * @return the starting Y value for the specified series and item.
75      */

76     public Number JavaDoc getStartYValue(int series, int item);
77
78     /**
79      * Returns the ending Y value for the specified series and item.
80      *
81      * @param series the series (zero-based index).
82      * @param item the item within a series (zero-based index).
83      *
84      * @return the ending Y value for the specified series and item.
85      */

86     public Number JavaDoc getEndYValue(int series, int item);
87
88     /**
89      * Returns the starting Z value for the specified series and item.
90      *
91      * @param series the series (zero-based index).
92      * @param item the item within a series (zero-based index).
93      *
94      * @return the starting Z value for the specified series and item.
95      */

96     public Number JavaDoc getStartZValue(int series, int item);
97
98     /**
99      * Returns the ending Z value for the specified series and item.
100      *
101      * @param series the series (zero-based index).
102      * @param item the item within a series (zero-based index).
103      *
104      * @return the ending Z value for the specified series and item.
105      */

106     public Number JavaDoc getEndZValue(int series, int item);
107
108 }
109
Popular Tags