java.lang.Object | |||||
↳ | org.jfree.data.general.AbstractDataset | ||||
↳ | org.jfree.data.general.AbstractSeriesDataset | ||||
↳ | org.jfree.data.xy.AbstractXYDataset | ||||
↳ | org.jfree.data.xy.AbstractIntervalXYDataset | ||||
↳ | org.jfree.data.xy.DefaultIntervalXYDataset |
A dataset that defines a range (interval) for both the x-values and the
y-values. This implementation uses six arrays to store the x, start-x,
end-x, y, start-y and end-y values.
An alternative implementation of the IntervalXYDataset
interface
is provided by the XYIntervalSeriesCollection
class.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
DefaultIntervalXYDataset instance, initially
containing no data. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a series or if a series with the same key already exists replaces
the data for that series, then sends a
DatasetChangeEvent to
all registered listeners. | |||||||||||
Returns a clone of this dataset.
| |||||||||||
Tests this
DefaultIntervalXYDataset instance for equality
with an arbitrary object. | |||||||||||
Returns the ending x-value for an item within a series.
| |||||||||||
Returns the ending x-value for an item within a series.
| |||||||||||
Returns the ending y-value for an item within a series.
| |||||||||||
Returns the ending y-value for an item within a series.
| |||||||||||
Returns the number of items in the specified series.
| |||||||||||
Returns the number of series in the dataset.
| |||||||||||
Returns the key for a series.
| |||||||||||
Returns the starting x-value for an item within a series.
| |||||||||||
Returns the starting x-value for an item within a series.
| |||||||||||
Returns the starting y-value for an item within a series.
| |||||||||||
Returns the starting y-value for an item within a series.
| |||||||||||
Returns the x-value for an item within a series.
| |||||||||||
Returns the x-value for an item within a series.
| |||||||||||
Returns the y-value for an item within a series.
| |||||||||||
Returns the y-value for an item within a series.
| |||||||||||
Returns a hash code for this instance.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new DefaultIntervalXYDataset
instance, initially
containing no data.
Adds a series or if a series with the same key already exists replaces
the data for that series, then sends a DatasetChangeEvent
to
all registered listeners.
seriesKey | the series key (null not permitted). |
---|---|
data | the data (must be an array with length 6, containing six arrays of equal length, the first containing the x-values and the second containing the y-values). |
Returns a clone of this dataset.
CloneNotSupportedException | if the dataset contains a series with a key that cannot be cloned. |
---|
Tests this DefaultIntervalXYDataset
instance for equality
with an arbitrary object. This method returns true
if and
only if:
obj
is not null
;obj
is an instance of
DefaultIntervalXYDataset
;obj | the object (null permitted). |
---|
Returns the ending x-value for an item within a series.
series | the series index (in the range 0 to
getSeriesCount() - 1 ). |
---|---|
item | the item index (in the range 0 to
getItemCount(series) ). |
ArrayIndexOutOfBoundsException | if series is not
within the specified range. |
---|---|
ArrayIndexOutOfBoundsException | if item is not
within the specified range. |
Returns the ending x-value for an item within a series.
series | the series index (in the range 0 to
getSeriesCount() - 1 ). |
---|---|
item | the item index (in the range 0 to
getItemCount(series) ). |
ArrayIndexOutOfBoundsException | if series is not
within the specified range. |
---|---|
ArrayIndexOutOfBoundsException | if item is not
within the specified range. |
Returns the ending y-value for an item within a series.
series | the series index (in the range 0 to
getSeriesCount() - 1 ). |
---|---|
item | the item index (in the range 0 to
getItemCount(series) ). |
ArrayIndexOutOfBoundsException | if series is not
within the specified range. |
---|---|
ArrayIndexOutOfBoundsException | if item is not
within the specified range. |
Returns the ending y-value for an item within a series.
series | the series index (in the range 0 to
getSeriesCount() - 1 ). |
---|---|
item | the item index (in the range 0 to
getItemCount(series) ). |
ArrayIndexOutOfBoundsException | if series is not
within the specified range. |
---|---|
ArrayIndexOutOfBoundsException | if item is not
within the specified range. |
Returns the number of items in the specified series.
series | the series index (in the range 0 to
getSeriesCount() - 1 ). |
---|
IllegalArgumentException | if series is not in the
specified range.
|
---|
Returns the number of series in the dataset.
Returns the key for a series.
series | the series index (in the range 0 to
getSeriesCount() - 1 ). |
---|
IllegalArgumentException | if series is not in the
specified range.
|
---|
Returns the starting x-value for an item within a series.
series | the series index (in the range 0 to
getSeriesCount() - 1 ). |
---|---|
item | the item index (in the range 0 to
getItemCount(series) ). |
ArrayIndexOutOfBoundsException | if series is not
within the specified range. |
---|---|
ArrayIndexOutOfBoundsException | if item is not
within the specified range. |
Returns the starting x-value for an item within a series.
series | the series index (in the range 0 to
getSeriesCount() - 1 ). |
---|---|
item | the item index (in the range 0 to
getItemCount(series) ). |
ArrayIndexOutOfBoundsException | if series is not
within the specified range. |
---|---|
ArrayIndexOutOfBoundsException | if item is not
within the specified range. |
Returns the starting y-value for an item within a series.
series | the series index (in the range 0 to
getSeriesCount() - 1 ). |
---|---|
item | the item index (in the range 0 to
getItemCount(series) ). |
ArrayIndexOutOfBoundsException | if series is not
within the specified range. |
---|---|
ArrayIndexOutOfBoundsException | if item is not
within the specified range. |
Returns the starting y-value for an item within a series.
series | the series index (in the range 0 to
getSeriesCount() - 1 ). |
---|---|
item | the item index (in the range 0 to
getItemCount(series) ). |
ArrayIndexOutOfBoundsException | if series is not
within the specified range. |
---|---|
ArrayIndexOutOfBoundsException | if item is not
within the specified range. |
Returns the x-value for an item within a series.
series | the series index (in the range 0 to
getSeriesCount() - 1 ). |
---|---|
item | the item index (in the range 0 to
getItemCount(series) ). |
ArrayIndexOutOfBoundsException | if series is not
within the specified range. |
---|---|
ArrayIndexOutOfBoundsException | if item is not
within the specified range. |
Returns the x-value for an item within a series.
series | the series index (in the range 0 to
getSeriesCount() - 1 ). |
---|---|
item | the item index (in the range 0 to
getItemCount(series) ). |
ArrayIndexOutOfBoundsException | if series is not
within the specified range. |
---|---|
ArrayIndexOutOfBoundsException | if item is not
within the specified range. |
Returns the y-value for an item within a series.
series | the series index (in the range 0 to
getSeriesCount() - 1 ). |
---|---|
item | the item index (in the range 0 to
getItemCount(series) ). |
ArrayIndexOutOfBoundsException | if series is not
within the specified range. |
---|---|
ArrayIndexOutOfBoundsException | if item is not
within the specified range. |
Returns the y-value for an item within a series.
series | the series index (in the range 0 to
getSeriesCount() - 1 ). |
---|---|
item | the item index (in the range 0 to
getItemCount(series) ). |
ArrayIndexOutOfBoundsException | if series is not
within the specified range. |
---|---|
ArrayIndexOutOfBoundsException | if item is not
within the specified range. |
Returns a hash code for this instance.