|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.data.ComparableObjectItem
org.jfree.data.time.ohlc.OHLCItem
An item representing data in the form (period, open, high, low, close).
Constructor Summary | |
OHLCItem(RegularTimePeriod period,
double open,
double high,
double low,
double close)
Creates a new instance of OHLCItem . |
Method Summary | |
double |
getCloseValue()
Returns the close value. |
double |
getHighValue()
Returns the high value. |
double |
getLowValue()
Returns the low value. |
double |
getOpenValue()
Returns the open value. |
RegularTimePeriod |
getPeriod()
Returns the period. |
double |
getYValue()
Returns the y-value. |
Methods inherited from class org.jfree.data.ComparableObjectItem |
clone, compareTo, equals, getComparable, getObject, hashCode, setObject |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OHLCItem(RegularTimePeriod period, double open, double high, double low, double close)
OHLCItem
.
period
- the time period.open
- the open-value.high
- the high-value.low
- the low-value.close
- the close-value.Method Detail |
public RegularTimePeriod getPeriod()
null
).public double getYValue()
public double getOpenValue()
public double getHighValue()
public double getLowValue()
public double getCloseValue()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |