Java org.jfree.data.xy XYSeriesCollection fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.data.xy XYSeriesCollection fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.data.xy XYSeriesCollection.

The text is from its open source code.

Subclass

org.jfree.data.xy.XYSeriesCollection has subclasses.
Click this link to see all its subclasses.

Constructor

XYSeriesCollection()
Constructs an empty dataset.
XYSeriesCollection(XYSeries series)
Constructs a dataset and populates it with a single series.

Method

voidaddChangeListener(DatasetChangeListener listener)
Registers an object to receive notification of changes to the dataset.
voidaddSeries(XYSeries series)
Adds a series to the collection and sends a DatasetChangeEvent to all registered listeners.
Objectclone()
Returns a clone of this instance.
booleanequals(Object obj)
Tests this collection for equality with an arbitrary object.
ClassgetClass()
Returns the runtime class of this Object .
RangegetDomainBounds(boolean includeInterval)
Returns the range of the values in this dataset's domain.
doublegetDomainLowerBound(boolean includeInterval)
Returns the minimum x-value in the dataset.
DomainOrdergetDomainOrder()
Returns the order of the domain (X) values, if this is known.
doublegetDomainUpperBound(boolean includeInterval)
Returns the maximum x-value in the dataset.
doublegetIntervalPositionFactor()
Returns the interval position factor.
doublegetIntervalWidth()
Returns the interval width.
intgetItemCount(int series)
Returns the number of items in the specified series.
RangegetRangeBounds(boolean includeInterval)
Returns the range of the values in this dataset's range.
doublegetRangeLowerBound(boolean includeInterval)
Returns the minimum y-value in the dataset.
doublegetRangeUpperBound(boolean includeInterval)
Returns the maximum y-value in the dataset.
XYSeriesgetSeries(int series)
Returns a series from the collection.
XYSeriesgetSeries(Comparable key)
Returns a series from the collection.
ListgetSeries()
Returns a list of all the series in the collection.
intgetSeriesCount()
Returns the number of series in the collection.
intgetSeriesIndex(Comparable key)
Returns the index of the series with the specified key, or -1 if no series has that key.
ComparablegetSeriesKey(int series)
Returns the key for a series.
NumbergetX(int series, int item)
Returns the x-value for the specified series and item.
doublegetXValue(int series, int item)
Returns the x-value (as a double primitive) for an item within a series.
NumbergetY(int series, int index)
Returns the y-value for the specified series and item.
doublegetYValue(int series, int item)
Returns the y-value (as a double primitive) for an item within a series.
intindexOf(XYSeries series)
Returns the index of the specified series, or -1 if that series is not present in the dataset.
voidremoveAllSeries()
Removes all the series from the collection and sends a DatasetChangeEvent to all registered listeners.
voidremoveSeries(int series)
Removes a series from the collection and sends a DatasetChangeEvent to all registered listeners.
voidremoveSeries(XYSeries series)
Removes a series from the collection and sends a DatasetChangeEvent to all registered listeners.
voidsetAutoWidth(boolean b)
Sets the flag that indicates whether the interval width is automatically calculated or not.
voidsetIntervalPositionFactor(double factor)
Sets the interval position factor.
voidsetIntervalWidth(double width)
Sets the interval width and sends a DatasetChangeEvent to all registered listeners.