Example usage for Java org.jfree.data.time.ohlc OHLCSeries fields, constructors, methods, implement or subclass
The text is from its open source code.
OHLCSeries(Comparable key) Creates a new empty series. |
void | add(RegularTimePeriod period, double open, double high, double low, double close) Adds a data item to the series. |
void | addChangeListener(SeriesChangeListener listener) Registers an object with this series, to receive notification whenever the series changes. |
void | clear() Removes all data items from the series and, unless the series is already empty, sends a SeriesChangeEvent to all registered listeners. |
Object | clone() Returns a clone of the series. |
boolean | equals(Object obj) Tests this series for equality with an arbitrary object. |
Class> | getClass() Returns the runtime class of this Object . |
ComparableObjectItem | getDataItem(int index) Returns the data item at the specified index. |
int | getItemCount() Returns the number of items in the series. |
int | getMaximumItemCount() Returns the maximum number of items that will be retained in the series. |
RegularTimePeriod | getPeriod(int index) Returns the time period for the specified item. |
int | hashCode() Returns a hash code. |
int | indexOf(Comparable x) Returns the index of the item with the specified x-value, or a negative index if the series does not contain an item with that x-value. |
boolean | isEmpty() Returns true if the series contains no data items, and false otherwise. |
ComparableObjectItem | remove(int index) Removes the item with the specified index. |
void | removeChangeListener(SeriesChangeListener listener) Deregisters an object, so that it not longer receives notification whenever the series changes. |
void | setDescription(String description) Sets the description of the series and sends a PropertyChangeEvent to all registered listeners. |
void | setMaximumItemCount(int maximum) Sets the maximum number of items that will be retained in the series. |