Example usage for Java org.jfree.data.time TimePeriodValues fields, constructors, methods, implement or subclass
The text is from its open source code.
TimePeriodValues(String name) Creates a new (empty) collection of time period values. |
void | add(TimePeriodValue item) Adds a data item to the series and sends a SeriesChangeEvent to all registered listeners. |
void | add(TimePeriod period, double value) Adds a new data item to the series and sends a SeriesChangeEvent to all registered listeners. |
void | add(TimePeriod period, Number value) Adds a new data item to the series and sends a SeriesChangeEvent to all registered listeners. |
void | addChangeListener(SeriesChangeListener listener) Registers an object with this series, to receive notification whenever the series changes. |
Object | clone() Returns a clone of the collection. |
void | delete(int start, int end) Deletes data from start until end index (end inclusive) and sends a SeriesChangeEvent to all registered listeners. |
boolean | equals(Object obj) Tests the series for equality with another object. |
TimePeriodValue | getDataItem(int index) Returns one data item for the series. |
String | getDomainDescription() Returns the domain description. |
int | getItemCount() Returns the number of items in the series. |
Comparable | getKey() Returns the key for the series. |
int | getMaxEndIndex() Returns the index of the time period with the maximum end milliseconds. |
int | getMaxMiddleIndex() Returns the index of the time period with the maximum middle milliseconds. |
int | getMaxStartIndex() Returns the index of the time period with the maximum start milliseconds. |
int | getMinEndIndex() Returns the index of the time period with the minimum end milliseconds. |
int | getMinMiddleIndex() Returns the index of the time period with the minimum middle milliseconds. |
int | getMinStartIndex() Returns the index of the time period with the minimum start milliseconds. |
String | getRangeDescription() Returns the range description. |
TimePeriod | getTimePeriod(int index) Returns the time period at the specified index. |
Number | getValue(int index) Returns the value at the specified index. |
void | removeChangeListener(SeriesChangeListener listener) Deregisters an object, so that it not longer receives notification whenever the series changes. |
void | setDomainDescription(String description) Sets the domain description and fires a property change event (with the property name Domain if the description changes). |
void | setKey(Comparable key) Sets the key for the series and sends a VetoableChangeEvent (with the property name "Key") to all registered listeners. |
void | setRangeDescription(String description) Sets the range description and fires a property change event with the name Range . |
void | update(int index, Number value) Updates (changes) the value of a data item and sends a SeriesChangeEvent to all registered listeners. |