org.jfree.data.xy

Interface IntervalXYDataset

public interface IntervalXYDataset extends XYDataset

An extension of the XYDataset interface that allows a range of data to be defined for the X values, the Y values, or both the X and Y values. This interface is used to support (among other things) bar plots against numerical axes.
Method Summary
NumbergetEndX(int series, int item)
Returns the ending X value for the specified series and item.
doublegetEndXValue(int series, int item)
Returns the end x-value (as a double primitive) for an item within a series.
NumbergetEndY(int series, int item)
Returns the ending Y value for the specified series and item.
doublegetEndYValue(int series, int item)
Returns the end y-value (as a double primitive) for an item within a series.
NumbergetStartX(int series, int item)
Returns the starting X value for the specified series and item.
doublegetStartXValue(int series, int item)
Returns the start x-value (as a double primitive) for an item within a series.
NumbergetStartY(int series, int item)
Returns the starting Y value for the specified series and item.
doublegetStartYValue(int series, int item)
Returns the start y-value (as a double primitive) for an item within a series.

Method Detail

getEndX

public Number getEndX(int series, int item)
Returns the ending X value for the specified series and item.

Parameters: series the series index (zero-based). item the item index (zero-based).

Returns: The value.

getEndXValue

public double getEndXValue(int series, int item)
Returns the end x-value (as a double primitive) for an item within a series.

Parameters: series the series index (zero-based). item the item index (zero-based).

Returns: The end x-value.

getEndY

public Number getEndY(int series, int item)
Returns the ending Y value for the specified series and item.

Parameters: series the series index (zero-based). item the item index (zero-based).

Returns: The value.

getEndYValue

public double getEndYValue(int series, int item)
Returns the end y-value (as a double primitive) for an item within a series.

Parameters: series the series index (zero-based). item the item index (zero-based).

Returns: The end y-value.

getStartX

public Number getStartX(int series, int item)
Returns the starting X value for the specified series and item.

Parameters: series the series index (zero-based). item the item index (zero-based).

Returns: The value.

getStartXValue

public double getStartXValue(int series, int item)
Returns the start x-value (as a double primitive) for an item within a series.

Parameters: series the series (zero-based index). item the item (zero-based index).

Returns: The start x-value.

getStartY

public Number getStartY(int series, int item)
Returns the starting Y value for the specified series and item.

Parameters: series the series index (zero-based). item the item index (zero-based).

Returns: The value.

getStartYValue

public double getStartYValue(int series, int item)
Returns the start y-value (as a double primitive) for an item within a series.

Parameters: series the series index (zero-based). item the item index (zero-based).

Returns: The start y-value.

Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.