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

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

Introduction

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

The text is from its open source code.

Constructor

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

Method

voidadd(double x, double xLow, double xHigh, double y, double yLow, double yHigh)
Adds a data item to the series and sends a SeriesChangeEvent to all registered listeners.
voidadd(XYIntervalDataItem item, boolean notify)
Adds a data item to the series and, if requested, 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 .
ComparableObjectItemgetDataItem(int index)
Returns the data item at the specified index.
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.
doublegetXHighValue(int index)
Returns the upper bound of the x-interval for the specified item in the series.
doublegetXLowValue(int index)
Returns the lower bound of the x-interval for the specified item in the series.
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.
voidsetKey(Comparable key)
Sets the key for the series and sends a VetoableChangeEvent (with the property name "Key") to all registered listeners.
voidsetMaximumItemCount(int maximum)
Sets the maximum number of items that will be retained in the series.