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.XYSeriesCollection |
Represents a collection of XYSeries
objects that can be used as a
dataset.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an empty dataset.
| |||||||||||
Constructs a dataset and populates it with a single series.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a series to the collection and sends a
DatasetChangeEvent
to all registered listeners. | |||||||||||
Returns a clone of this instance.
| |||||||||||
Tests this collection for equality with an arbitrary object.
| |||||||||||
Returns the range of the values in this dataset's domain.
| |||||||||||
Returns the minimum x-value in the dataset.
| |||||||||||
Returns the order of the domain (X) values, if this is known.
| |||||||||||
Returns the maximum x-value in the dataset.
| |||||||||||
Returns the ending X value for the specified series and item.
| |||||||||||
Returns the ending Y value for the specified series and item.
| |||||||||||
Returns the interval position factor.
| |||||||||||
Returns the interval width.
| |||||||||||
Returns the number of items in the specified series.
| |||||||||||
Returns the range of the values in this dataset's range.
| |||||||||||
Returns the minimum y-value in the dataset.
| |||||||||||
Returns the maximum y-value in the dataset.
| |||||||||||
Returns a series from the collection.
| |||||||||||
Returns a series from the collection.
| |||||||||||
Returns a list of all the series in the collection.
| |||||||||||
Returns the number of series in the collection.
| |||||||||||
Returns the key for a series.
| |||||||||||
Returns the starting X value for the specified series and item.
| |||||||||||
Returns the starting Y value for the specified series and item.
| |||||||||||
Returns the x-value for the specified series and item.
| |||||||||||
Returns the y-value for the specified series and item.
| |||||||||||
Returns a hash code.
| |||||||||||
Returns the index of the specified series, or -1 if that series is not
present in the dataset.
| |||||||||||
Returns whether the interval width is automatically calculated or not.
| |||||||||||
Removes all the series from the collection and sends a
DatasetChangeEvent to all registered listeners. | |||||||||||
Removes a series from the collection and sends a
DatasetChangeEvent to all registered listeners. | |||||||||||
Removes a series from the collection and sends a
DatasetChangeEvent to all registered listeners. | |||||||||||
Sets the flag that indicates wether the interval width is automatically
calculated or not.
| |||||||||||
Sets the interval position factor.
| |||||||||||
Sets the interval width and sends a
DatasetChangeEvent to all
registered listeners. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructs an empty dataset.
Constructs a dataset and populates it with a single series.
series | the series (null ignored).
|
---|
Adds a series to the collection and sends a DatasetChangeEvent
to all registered listeners.
series | the series (null not permitted).
|
---|
Returns a clone of this instance.
CloneNotSupportedException | if there is a problem. |
---|
Tests this collection for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns the range of the values in this dataset's domain.
includeInterval | a flag that determines whether or not the x-interval is taken into account. |
---|
null
if the dataset contains no
values).
Returns the minimum x-value in the dataset.
includeInterval | a flag that determines whether or not the x-interval is taken into account. |
---|
Returns the order of the domain (X) values, if this is known.
Returns the maximum x-value in the dataset.
includeInterval | a flag that determines whether or not the x-interval is taken into account. |
---|
Returns the ending X value for the specified series and item.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the ending Y value for the specified series and item.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the interval position factor.
Returns the interval width. This is used to calculate the start and end
x-values, if/when the dataset is used as an IntervalXYDataset
.
Returns the number of items in the specified series.
series | the series (zero-based index). |
---|
IllegalArgumentException | if series is not in the
range 0 to getSeriesCount() - 1 .
|
---|
Returns the range of the values in this dataset's range.
includeInterval | ignored. |
---|
null
if the dataset contains no
values).
Returns the minimum y-value in the dataset.
includeInterval | a flag that determines whether or not the y-interval is taken into account. |
---|
Returns the maximum y-value in the dataset.
includeInterval | a flag that determines whether or not the y-interval is taken into account. |
---|
Returns a series from the collection.
series | the series index (zero-based). |
---|
IllegalArgumentException | if series is not in the
range 0 to getSeriesCount() - 1 .
|
---|
Returns a series from the collection.
key | the key (null not permitted). |
---|
UnknownKeyException | if key is not found in the
collection. |
---|
Returns a list of all the series in the collection.
Returns the number of series in the collection.
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 the specified series and item.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the starting Y value for the specified series and item.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the x-value for the specified series and item.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the y-value for the specified series and item.
series | the series (zero-based index). |
---|---|
index | the index of the item of interest (zero-based). |
null
).
Returns a hash code.
Returns the index of the specified series, or -1 if that series is not present in the dataset.
series | the series (null not permitted). |
---|
Returns whether the interval width is automatically calculated or not.
Removes all the series from the collection and sends a
DatasetChangeEvent
to all registered listeners.
Removes a series from the collection and sends a
DatasetChangeEvent
to all registered listeners.
series | the series (null not permitted).
|
---|
Removes a series from the collection and sends a
DatasetChangeEvent
to all registered listeners.
series | the series index (zero-based). |
---|
Sets the flag that indicates wether the interval width is automatically calculated or not.
b | a boolean. |
---|
Sets the interval position factor. This controls where the x-value is in relation to the interval surrounding the x-value (0.0 means the x-value will be positioned at the start, 0.5 in the middle, and 1.0 at the end).
factor | the factor. |
---|
Sets the interval width and sends a DatasetChangeEvent
to all
registered listeners.
width | the width (negative values not permitted). |
---|