java.lang.Object | ||||
↳ | org.jfree.data.general.AbstractDataset | |||
↳ | org.jfree.data.general.AbstractSeriesDataset | |||
↳ | org.jfree.data.xy.AbstractXYDataset | |||
↳ | org.jfree.data.time.ohlc.OHLCSeriesCollection |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance of
OHLCSeriesCollection . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a series to the collection and sends a
DatasetChangeEvent
to all registered listeners. | |||||||||||
Returns a clone of this instance.
| |||||||||||
Tests this instance for equality with an arbitrary object.
| |||||||||||
Returns the close-value for an item within a series.
| |||||||||||
Returns the close-value for an item within a series.
| |||||||||||
Returns the high-value for an item within a series.
| |||||||||||
Returns the high-value for an item within a series.
| |||||||||||
Returns the number of items in the specified series.
| |||||||||||
Returns the low-value for an item within a series.
| |||||||||||
Returns the low-value for an item within a series.
| |||||||||||
Returns the open-value for an item within a series.
| |||||||||||
Returns the open-value for an item within a series.
| |||||||||||
Returns a series from the collection.
| |||||||||||
Returns the number of series in the collection.
| |||||||||||
Returns the key for a series.
| |||||||||||
Returns
null always, because this dataset doesn't record
any volume data. | |||||||||||
Returns
Double.NaN always, because this dataset doesn't
record any volume data. | |||||||||||
Returns the x-value for an item within a series.
| |||||||||||
Returns the position within each time period that is used for the X
value when the collection is used as an
XYDataset . | |||||||||||
Returns the x-value for an item within a series.
| |||||||||||
Returns the y-value for an item within a series.
| |||||||||||
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. |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the x-value for a time period.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new instance of OHLCSeriesCollection
.
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 instance for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns the close-value for an item within a series.
series | the series index. |
---|---|
item | the item index. |
Returns the close-value for an item within a series.
series | the series index. |
---|---|
item | the item index. |
Returns the high-value for an item within a series.
series | the series index. |
---|---|
item | the item index. |
Returns the high-value for an item within a series.
series | the series index. |
---|---|
item | the item index. |
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 low-value for an item within a series.
series | the series index. |
---|---|
item | the item index. |
Returns the low-value for an item within a series.
series | the series index. |
---|---|
item | the item index. |
Returns the open-value for an item within a series.
series | the series index. |
---|---|
item | the item index. |
Returns the open-value for an item within a series.
series | the series index. |
---|---|
item | the item index. |
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 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 null
always, because this dataset doesn't record
any volume data.
series | the series index (ignored). |
---|---|
item | the item index (ignored). |
null
.
Returns Double.NaN
always, because this dataset doesn't
record any volume data.
series | the series index (ignored). |
---|---|
item | the item index (ignored). |
Double.NaN
.
Returns the x-value for an item within a series.
series | the series index. |
---|---|
item | the item index. |
Returns the position within each time period that is used for the X
value when the collection is used as an XYDataset
.
null
).Returns the x-value for an item within a series.
series | the series index. |
---|---|
item | the item index. |
Returns the y-value for an item within a series.
series | the series index. |
---|---|
item | the item index. |
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.
anchor | the anchor position (null not permitted). |
---|
Returns the x-value for a time period.
period | the time period (null not permitted). |
---|