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 Type Method Description void
add(MultiSeriesInternal<T> series)
void
add(T series)
Adds a series to this collection.AxesImpl
axes()
void
constructSnapshot()
Constructs a snapshot of this dataset collection.int
dimension()
Gets the dimension of this data set.Integer
get(Comparable seriesName)
Returns index of the series, -1 if its not foundList<T>
getAllSeries()
DataSetCollection
getCurrentSnapshot()
Returns a snapshot of this dataset collection in which no series which will update.int
id()
Gets the id of this datasetcollection which is same as the id of theAxes
instance it is associated withCollection<MultiSeriesInternal<T>>
multiSeries()
Set<? extends SeriesInternal>
remove(String... names)
Removes the series with the specified names from this collection.Collection<T>
series()
Methods inherited from interface com.illumon.iris.db.plot.util.tables.DataChangeListener
notifyDataChanged, notifyDataChanged, notifySeriesChanged, onFailed, onOneClick, onOneClickRemoved, removeOnOneClick
-
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 theAxes
instance 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
-