Method Summary |
|
public void | add(TimePeriodValue item) Adds a data item to the series and sends a
SeriesChangeEvent to
all registered listeners. |
public void | add(TimePeriod period, double value) Adds a new data item to the series and sends a
SeriesChangeEvent to all registered listeners. |
public void | add(TimePeriod period, Number value) Adds a new data item to the series and sends a
SeriesChangeEvent to all registered listeners. |
public Object | clone() Returns a clone of the collection. |
public TimePeriodValues | createCopy(int start, int end) Creates a new instance by copying a subset of the data in this
collection.
Parameters: start - the index of the first item to copy. Parameters: end - the index of the last item to copy. |
public void | delete(int start, int end) Deletes data from start until end index (end inclusive) and sends a
SeriesChangeEvent to all registered listeners. |
public boolean | equals(Object obj) Tests the series for equality with another object.
Parameters: obj - the object (null permitted). |
public TimePeriodValue | getDataItem(int index) Returns one data item for the series.
Parameters: index - the item index (in the range 0 to getItemCount() - 1 ). |
public String | getDomainDescription() Returns the domain description. |
public int | getItemCount() Returns the number of items in the series. |
public int | getMaxEndIndex() Returns the index of the time period with the maximum end milliseconds. |
public int | getMaxMiddleIndex() Returns the index of the time period with the maximum middle
milliseconds. |
public int | getMaxStartIndex() Returns the index of the time period with the maximum start milliseconds. |
public int | getMinEndIndex() Returns the index of the time period with the minimum end milliseconds. |
public int | getMinMiddleIndex() Returns the index of the time period with the minimum middle
milliseconds. |
public int | getMinStartIndex() Returns the index of the time period with the minimum start milliseconds. |
public String | getRangeDescription() Returns the range description. |
public TimePeriod | getTimePeriod(int index) Returns the time period at the specified index.
Parameters: index - the item index (in the range 0 to getItemCount() - 1 ). |
public Number | getValue(int index) Returns the value at the specified index.
Parameters: index - the item index (in the range 0 to getItemCount() - 1 ). |
public int | hashCode() Returns a hash code value for the object. |
public void | setDomainDescription(String description) Sets the domain description and fires a property change event (with the
property name Domain if the description changes). |
public void | setRangeDescription(String description) Sets the range description and fires a property change event with the
name Range . |
public void | update(int index, Number value) Updates (changes) the value of a data item and sends a
SeriesChangeEvent to all registered listeners. |