Java org.jfree.data.time.ohlc OHLCSeries fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.data.time.ohlc OHLCSeries fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.data.time.ohlc OHLCSeries.

The text is from its open source code.

Constructor

OHLCSeries(Comparable key)
Creates a new empty series.

Method

voidadd(RegularTimePeriod period, double open, double high, double low, double close)
Adds a data item to the series.
voidaddChangeListener(SeriesChangeListener listener)
Registers an object with this series, to receive notification whenever the series changes.
voidclear()
Removes all data items from the series and, unless the series is already empty, sends a SeriesChangeEvent to all registered listeners.
Objectclone()
Returns a clone of the series.
booleanequals(Object obj)
Tests this series for equality with an arbitrary object.
ClassgetClass()
Returns the runtime class of this Object .
ComparableObjectItemgetDataItem(int index)
Returns the data item at the specified index.
intgetItemCount()
Returns the number of items in the series.
intgetMaximumItemCount()
Returns the maximum number of items that will be retained in the series.
RegularTimePeriodgetPeriod(int index)
Returns the time period for the specified item.
inthashCode()
Returns a hash code.
intindexOf(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.
booleanisEmpty()
Returns true if the series contains no data items, and false otherwise.
ComparableObjectItemremove(int index)
Removes the item with the specified index.
voidremoveChangeListener(SeriesChangeListener listener)
Deregisters an object, so that it not longer receives notification whenever the series changes.
voidsetDescription(String description)
Sets the description of the series and sends a PropertyChangeEvent to all registered listeners.
voidsetMaximumItemCount(int maximum)
Sets the maximum number of items that will be retained in the series.