Package com.jfcbuilder.adapters
Class NumberMappedTimeSeriesCollection
java.lang.Object
org.jfree.data.general.AbstractDataset
org.jfree.data.general.AbstractSeriesDataset
org.jfree.data.xy.AbstractXYDataset
org.jfree.data.xy.AbstractIntervalXYDataset
org.jfree.data.time.TimeSeriesCollection
com.jfcbuilder.adapters.NumberMappedTimeSeriesCollection
- All Implemented Interfaces:
INumberMappedCollection,VetoableChangeListener,ObjectInputValidation,Serializable,Cloneable,EventListener,org.jfree.data.DomainInfo,org.jfree.data.general.Dataset,org.jfree.data.general.SeriesChangeListener,org.jfree.data.general.SeriesDataset,org.jfree.data.xy.IntervalXYDataset,org.jfree.data.xy.XYDataset,org.jfree.data.xy.XYDomainInfo,org.jfree.data.xy.XYRangeInfo
public class NumberMappedTimeSeriesCollection
extends org.jfree.data.time.TimeSeriesCollection
implements INumberMappedCollection
Extension to TimeSeriesCollection to map timestamp values to x-axis numeric indexes.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetEndXValue(int series, int item) doublegetStartXValue(int series, int item) doublegetXValue(int series, int item) Returns a series item's x-value element index as a double instead of the x-value itself.Methods inherited from class org.jfree.data.time.TimeSeriesCollection
addSeries, clone, equals, getDomainBounds, getDomainBounds, getDomainLowerBound, getDomainOrder, getDomainUpperBound, getEndX, getEndY, getItemCount, getRangeBounds, getRangeBounds, getSeries, getSeries, getSeries, getSeriesCount, getSeriesIndex, getSeriesKey, getStartX, getStartY, getSurroundingItems, getX, getXPosition, getY, hashCode, indexOf, removeAllSeries, removeSeries, removeSeries, setXPosition, vetoableChangeMethods inherited from class org.jfree.data.xy.AbstractIntervalXYDataset
getEndYValue, getStartYValueMethods inherited from class org.jfree.data.xy.AbstractXYDataset
getYValueMethods inherited from class org.jfree.data.general.AbstractSeriesDataset
indexOf, seriesChangedMethods inherited from class org.jfree.data.general.AbstractDataset
addChangeListener, getGroup, getNotify, hasListener, removeChangeListener, setGroup, setNotify, validateObjectMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jfree.data.general.Dataset
addChangeListener, getGroup, removeChangeListener, setGroupMethods inherited from interface org.jfree.data.xy.IntervalXYDataset
getEndYValue, getStartYValueMethods inherited from interface org.jfree.data.general.SeriesDataset
indexOfMethods inherited from interface org.jfree.data.xy.XYDataset
getYValue
-
Constructor Details
-
NumberMappedTimeSeriesCollection
public NumberMappedTimeSeriesCollection()Constructor
-
-
Method Details
-
getStartXValue
public double getStartXValue(int series, int item) - Specified by:
getStartXValuein interfaceorg.jfree.data.xy.IntervalXYDataset- Overrides:
getStartXValuein classorg.jfree.data.xy.AbstractIntervalXYDataset
-
getEndXValue
public double getEndXValue(int series, int item) - Specified by:
getEndXValuein interfaceorg.jfree.data.xy.IntervalXYDataset- Overrides:
getEndXValuein classorg.jfree.data.xy.AbstractIntervalXYDataset
-
getXValue
public double getXValue(int series, int item) Description copied from interface:INumberMappedCollectionReturns a series item's x-value element index as a double instead of the x-value itself.- Specified by:
getXValuein interfaceINumberMappedCollection- Specified by:
getXValuein interfaceorg.jfree.data.xy.XYDataset- Overrides:
getXValuein classorg.jfree.data.time.TimeSeriesCollection- Parameters:
series- Zero-based index of the desired seriesitem- Zero-based index of the desired item- Returns:
- The x-value element index
-