Interface DataSetCollection<T extends DataSeriesInternal>
- All Superinterfaces:
DataChangeListener,PlotExceptionCause
- All Known Subinterfaces:
XYRangedDataSetCollection<T>
- All Known Implementing Classes:
AbstractDataSetCollection,AbstractXYDataSetCollection,CategoryDataSetCollection,CombinedXYDataSetCollection,IntervalAndTableXYDataSetCollectionWrapper,IntervalAndTableXYDataSetCollectionWrapper.IntervalAndTableXYDataSetCollectionWrapperSnapshot,IntervalDataSetCollection,IntervalDataSetCollectionWrapper,IntervalDataSetCollectionWrapper.IntervalDataSetCollectionWrapperSnapshot,OHLCDataSetCollection,PieDataSetCollection,StackedXYDataSetCollection,StackedXYDataSetCollection.StackedXYDataSetCollectionSnapshot,TransformedCategoryDataSetCollection,TransformedIntervalDataSetCollection,TransformedOHLCDataSetCollection,TransformedXYDataSetCollection,XYDataSetCollection
public interface DataSetCollection<T extends DataSeriesInternal>
extends DataChangeListener, PlotExceptionCause
Collection of
DataSeriesInternal.-
Method Summary
Modifier and TypeMethodDescriptionvoidadd(MultiSeriesInternal<T> series) voidAdds a series to this collection.axes()voidConstructs a snapshot of this dataset collection.intGets the dimension of this data set.get(Comparable seriesName) Returns index of the series, -1 if its not foundReturns a snapshot of this dataset collection in which no series which will update.intid()Gets the id of this datasetcollection which is same as the id of theAxesinstance it is associated withSet<? extends SeriesInternal>Removes the series with the specified names from this collection.series()Methods inherited from interface com.illumon.iris.db.plot.util.tables.DataChangeListener
notifyDataChanged, notifyDataChanged, notifySeriesChanged, onFailed, onOneClick, onOneClickRemoved, removeOnOneClickMethods inherited from interface com.illumon.iris.db.plot.errors.PlotExceptionCause
getPlotInfo
-
Method Details
-
series
Collection<T> series()- Returns:
- the series (not including the MultiSeries) in this collection
-
multiSeries
Collection<MultiSeriesInternal<T>> multiSeries() -
add
Adds a series to this collection.- Parameters:
series- series
-
add
-
remove
Removes the series with the specified names from this collection.- Parameters:
names- series names
-
dimension
int dimension()Gets the dimension of this data set.- Returns:
- dimension of this data set
-
getAllSeries
- Returns:
- all series from this collection
-
getCurrentSnapshot
DataSetCollection getCurrentSnapshot()Returns a snapshot of this dataset collection in which no series which will update. -
constructSnapshot
void constructSnapshot()Constructs a snapshot of this dataset collection. -
axes
AxesImpl axes()- Returns:
- the axes of this dataset collection
-
id
int id()Gets the id of this datasetcollection which is same as the id of theAxesinstance it is associated with- Returns:
- - id of the datasetcollection
-
get
Returns index of the series, -1 if its not found- Parameters:
seriesName- name of the series- Returns:
- index of the series
-