Java org.jfree.data.xy YIntervalSeries fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.data.xy YIntervalSeries fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.data.xy YIntervalSeries.

The text is from its open source code.

Constructor

YIntervalSeries(Comparable key)
Creates a new empty series.
YIntervalSeries(Comparable key, boolean autoSort, boolean allowDuplicateXValues)
Constructs a new xy-series that contains no data.

Method

voidadd(double x, double y, double yLow, double yHigh)
Adds a data item to the series and sends a SeriesChangeEvent to all registered listeners.
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 .
intgetItemCount()
Returns the number of items in the series.
ComparablegetKey()
Returns the key for the series.
intgetMaximumItemCount()
Returns the maximum number of items that will be retained in the series.
NumbergetX(int index)
Returns the x-value for the specified item.
doublegetYHighValue(int index)
Returns the upper bound of the y-interval for the specified item in the series.
doublegetYLowValue(int index)
Returns the lower bound of the Y-interval for the specified item in the series.
doublegetYValue(int index)
Returns the y-value for the specified item.
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 at the specified index and sends a SeriesChangeEvent to all registered listeners.
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.