|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.data.OHLCDataItem
Represents a single (open-high-low-close) data item in an OHLCDataset. This data item
is commonly used to summarise the trading activity of a financial commodity for a fixed period
(most often one day).
| Constructor Summary | |
OHLCDataItem(java.util.Date date,
double open,
double high,
double low,
double close,
double volume)
Creates a new item. |
|
| Method Summary | |
int |
compareTo(java.lang.Object object)
Compares this object with the specified object for order. |
java.lang.Number |
getClose()
Returns the close value. |
java.util.Date |
getDate()
Returns the date. |
java.lang.Number |
getHigh()
Returns the high value. |
java.lang.Number |
getLow()
Returns the low value. |
java.lang.Number |
getOpen()
Returns the open value. |
java.lang.Number |
getVolume()
Returns the volume. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OHLCDataItem(java.util.Date date,
double open,
double high,
double low,
double close,
double volume)
date - the date.open - the open value.high - the high value.low - the low value.close - the close value.volume - the volume.| Method Detail |
public java.util.Date getDate()
public java.lang.Number getOpen()
public java.lang.Number getHigh()
public java.lang.Number getLow()
public java.lang.Number getClose()
public java.lang.Number getVolume()
public int compareTo(java.lang.Object object)
compareTo in interface java.lang.Comparableobject - the object to compare to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||