1. /* ===========================================================
  2. * JFreeChart : a free chart library for the Java(tm) platform
  3. * ===========================================================
  4. *
  5. * (C) Copyright 2000-2004, by Object Refinery Limited and Contributors.
  6. *
  7. * Project Info: http://www.jfree.org/jfreechart/index.html
  8. *
  9. * This library is free software; you can redistribute it and/or modify it under the terms
  10. * of the GNU Lesser General Public License as published by the Free Software Foundation;
  11. * either version 2.1 of the License, or (at your option) any later version.
  12. *
  13. * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
  14. * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  15. * See the GNU Lesser General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Lesser General Public License along with this
  18. * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  19. * Boston, MA 02111-1307, USA.
  20. *
  21. * [Java is a trademark or registered trademark of Sun Microsystems, Inc.
  22. * in the United States and other countries.]
  23. *
  24. * -----------------------
  25. * IntervalXYZDataset.java
  26. * -----------------------
  27. * (C) Copyright 2001-2004, by Object Refinery Limited.
  28. *
  29. * Original Author: David Gilbert (for Object Refinery Limited);
  30. * Contributor(s): -;
  31. *
  32. * $Id: IntervalXYZDataset.java,v 1.1 2004/08/31 15:36:12 mungady Exp $
  33. *
  34. * Changes
  35. * -------
  36. * 31-Oct-2001 : Version 1 (DG);
  37. *
  38. */
  39. package org.jfree.data.xy;
  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. */
  45. public interface IntervalXYZDataset extends XYZDataset {
  46. /**
  47. * Returns the starting X value for the specified series and item.
  48. *
  49. * @param series the series (zero-based index).
  50. * @param item the item within a series (zero-based index).
  51. *
  52. * @return the starting X value for the specified series and item.
  53. */
  54. public Number getStartXValue(int series, int item);
  55. /**
  56. * Returns the ending X value for the specified series and item.
  57. *
  58. * @param series the series (zero-based index).
  59. * @param item the item within a series (zero-based index).
  60. *
  61. * @return the ending X value for the specified series and item.
  62. */
  63. public Number getEndXValue(int series, int item);
  64. /**
  65. * Returns the starting Y value for the specified series and item.
  66. *
  67. * @param series the series (zero-based index).
  68. * @param item the item within a series (zero-based index).
  69. *
  70. * @return the starting Y value for the specified series and item.
  71. */
  72. public Number getStartYValue(int series, int item);
  73. /**
  74. * Returns the ending Y value for the specified series and item.
  75. *
  76. * @param series the series (zero-based index).
  77. * @param item the item within a series (zero-based index).
  78. *
  79. * @return the ending Y value for the specified series and item.
  80. */
  81. public Number getEndYValue(int series, int item);
  82. /**
  83. * Returns the starting Z value for the specified series and item.
  84. *
  85. * @param series the series (zero-based index).
  86. * @param item the item within a series (zero-based index).
  87. *
  88. * @return the starting Z value for the specified series and item.
  89. */
  90. public Number getStartZValue(int series, int item);
  91. /**
  92. * Returns the ending Z value for the specified series and item.
  93. *
  94. * @param series the series (zero-based index).
  95. * @param item the item within a series (zero-based index).
  96. *
  97. * @return the ending Z value for the specified series and item.
  98. */
  99. public Number getEndZValue(int series, int item);
  100. }