| java.lang.Object | |
| ↳ | org.jfree.data.xy.OHLCDataItem |
Represents a single (open-high-low-close) data item in
an DefaultOHLCDataset. This data item is commonly used
to summarise the trading activity of a financial commodity for
a fixed period (most often one day).
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new item.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Compares this object with the specified object for order.
| |||||||||||
Checks this instance for equality with an arbitrary object.
| |||||||||||
Returns the close value.
| |||||||||||
Returns the date that the data item relates to.
| |||||||||||
Returns the high value.
| |||||||||||
Returns the low value.
| |||||||||||
Returns the open value.
| |||||||||||
Returns the volume.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
Creates a new item.
| date | the date (null not permitted). |
|---|---|
| open | the open value. |
| high | the high value. |
| low | the low value. |
| close | the close value. |
| volume | the volume. |
Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
| object | the object to compare to. |
|---|
Checks this instance for equality with an arbitrary object.
| obj | the object (null permitted). |
|---|
Returns the date that the data item relates to.
null).