Java org.jfree.data.time.ohlc OHLCSeriesCollection fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.data.time.ohlc OHLCSeriesCollection fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.data.time.ohlc OHLCSeriesCollection.

The text is from its open source code.

Constructor

OHLCSeriesCollection()
Creates a new instance of OHLCSeriesCollection.

Method

voidaddChangeListener(DatasetChangeListener listener)
Registers an object to receive notification of changes to the dataset.
voidaddSeries(OHLCSeries 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 instance for equality with an arbitrary object.
ClassgetClass()
Returns the runtime class of this Object .
doublegetCloseValue(int series, int item)
Returns the close-value for an item within a series.
doublegetHighValue(int series, int item)
Returns the high-value for an item within a series.
doublegetLowValue(int series, int item)
Returns the low-value for an item within a series.
doublegetOpenValue(int series, int item)
Returns the open-value for an item within a series.
OHLCSeriesgetSeries(int series)
Returns a series from the collection.
intgetSeriesCount()
Returns the number of series in the collection.
doublegetYValue(int series, int item)
Returns the y-value (as a double primitive) for an item within a series.
inthashCode()
Returns a hash code for this instance.
voidremoveAllSeries()
Removes all the series from the collection and sends a DatasetChangeEvent to all registered listeners.
voidremoveSeries(int index)
Removes the series with the specified index and sends a DatasetChangeEvent to all registered listeners.
booleanremoveSeries(OHLCSeries series)
Removes the specified series from the dataset and sends a DatasetChangeEvent to all registered listeners.
voidsetXPosition(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.