Method Summary |
|
public void | addSeries(TimeSeries series) Adds a series to the collection and sends a
DatasetChangeEvent to
all registered listeners. |
public boolean | equals(Object obj) Tests this time series collection for equality with another object.
Parameters: obj - the other object. |
public Range | getDomainBounds(boolean includeInterval) Returns the range of the values in this dataset's domain.
Parameters: includeInterval - a flag that determines whether or not thex-interval is taken into account. |
public boolean | getDomainIsPointsInTime() Returns a flag that controls whether the domain is treated as 'points in
time'. |
public double | getDomainLowerBound(boolean includeInterval) Returns the minimum x-value in the dataset.
Parameters: includeInterval - a flag that determines whether or not thex-interval is taken into account. |
public DomainOrder | getDomainOrder() Returns the order of the domain values in this dataset. |
public double | getDomainUpperBound(boolean includeInterval) Returns the maximum x-value in the dataset.
Parameters: includeInterval - a flag that determines whether or not thex-interval is taken into account. |
public synchronized Number | getEndX(int series, int item) Returns the ending X value for the specified series and item.
Parameters: series - The series (zero-based index). Parameters: item - The item (zero-based index). |
public Number | getEndY(int series, int item) Returns the ending Y value for the specified series and item.
Parameters: series - te series (zero-based index). Parameters: item - the item (zero-based index). |
public int | getItemCount(int series) Returns the number of items in the specified series. |
public List | getSeries() Returns a list of all the series in the collection. |
public TimeSeries | getSeries(int series) Returns a series.
Parameters: series - the index of the series (zero-based). |
public TimeSeries | getSeries(String key) Returns the series with the specified key, or null if
there is no such series.
Parameters: key - the series key (null permitted). |
public int | getSeriesCount() Returns the number of series in the collection. |
public Comparable | getSeriesKey(int series) Returns the key for a series. |
public synchronized Number | getStartX(int series, int item) Returns the starting X value for the specified series and item.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
public Number | getStartY(int series, int item) Returns the starting Y value for the specified series and item.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
public int[] | getSurroundingItems(int series, long milliseconds) Returns the indices of the two data items surrounding a particular
millisecond value. |
public Number | getX(int series, int item) Returns the x-value for the specified series and item.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
protected synchronized long | getX(RegularTimePeriod period) Returns the x-value for a time period.
Parameters: period - the time period (null not permitted). |
public TimePeriodAnchor | getXPosition() Returns the position within each time period that is used for the X
value when the collection is used as an
org.jfree.data.xy.XYDataset . |
public double | getXValue(int series, int item) Returns the x-value (as a double primitive) for an item within a series.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
public Number | getY(int series, int item) Returns the y-value for the specified series and item.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
public int | hashCode() Returns a hash code value for the object. |
public int | indexOf(TimeSeries series) Returns the index of the specified series, or -1 if that series is not
present in the dataset.
Parameters: series - the series (null not permitted). |
public void | removeAllSeries() Removes all the series from the collection and sends a
DatasetChangeEvent to all registered listeners. |
public void | removeSeries(TimeSeries series) Removes the specified series from the collection and sends a
DatasetChangeEvent to all registered listeners. |
public void | removeSeries(int index) Removes a series from the collection. |
public void | setDomainIsPointsInTime(boolean flag) Sets a flag that controls whether the domain is treated as 'points in
time', or time periods. |
public void | setXPosition(TimePeriodAnchor anchor) Sets the position within each time period that is used for the X values
when the collection is used as an
XYDataset , then sends a
DatasetChangeEvent is sent to all registered listeners. |