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

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

Introduction

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

The text is from its open source code.

Constructor

TimePeriodValues(String name)
Creates a new (empty) collection of time period values.

Method

voidadd(TimePeriodValue item)
Adds a data item to the series and sends a SeriesChangeEvent to all registered listeners.
voidadd(TimePeriod period, double value)
Adds a new data item to the series and sends a SeriesChangeEvent to all registered listeners.
voidadd(TimePeriod period, Number value)
Adds a new 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.
Objectclone()
Returns a clone of the collection.
voiddelete(int start, int end)
Deletes data from start until end index (end inclusive) and sends a SeriesChangeEvent to all registered listeners.
booleanequals(Object obj)
Tests the series for equality with another object.
TimePeriodValuegetDataItem(int index)
Returns one data item for the series.
StringgetDomainDescription()
Returns the domain description.
intgetItemCount()
Returns the number of items in the series.
ComparablegetKey()
Returns the key for the series.
intgetMaxEndIndex()
Returns the index of the time period with the maximum end milliseconds.
intgetMaxMiddleIndex()
Returns the index of the time period with the maximum middle milliseconds.
intgetMaxStartIndex()
Returns the index of the time period with the maximum start milliseconds.
intgetMinEndIndex()
Returns the index of the time period with the minimum end milliseconds.
intgetMinMiddleIndex()
Returns the index of the time period with the minimum middle milliseconds.
intgetMinStartIndex()
Returns the index of the time period with the minimum start milliseconds.
StringgetRangeDescription()
Returns the range description.
TimePeriodgetTimePeriod(int index)
Returns the time period at the specified index.
NumbergetValue(int index)
Returns the value at the specified index.
voidremoveChangeListener(SeriesChangeListener listener)
Deregisters an object, so that it not longer receives notification whenever the series changes.
voidsetDomainDescription(String description)
Sets the domain description and fires a property change event (with the property name Domain if the description changes).
voidsetKey(Comparable key)
Sets the key for the series and sends a VetoableChangeEvent (with the property name "Key") to all registered listeners.
voidsetRangeDescription(String description)
Sets the range description and fires a property change event with the name Range.
voidupdate(int index, Number value)
Updates (changes) the value of a data item and sends a SeriesChangeEvent to all registered listeners.