Package com.androidplot
Class SeriesRegistry
-
- All Implemented Interfaces:
-
java.io.Serializable
public abstract class SeriesRegistry<BundleType extends SeriesBundle<SeriesType, FormatterType>, SeriesType extends Series, FormatterType extends Formatter> implements Serializable
- Since:
0.9.7
-
-
Constructor Summary
Constructors Constructor Description SeriesRegistry()
-
Method Summary
Modifier and Type Method Description List<BundleType>getSeriesAndFormatterList()List<SeriesType>getSeriesList()intsize()booleanisEmpty()synchronized booleanadd(@NonNull() SeriesType series, @NonNull() FormatterType formatter)synchronized List<BundleType>remove(@NonNull() SeriesType series, @NonNull() Class rendererClass)synchronized booleanremove(@NonNull() SeriesType series)Remove all occurrences of series regardless of the associated Renderer. synchronized voidclear()Remove all series from the plot. List<SeriesBundle<SeriesType, FormatterType>>getLegendEnabledItems()booleancontains(@NonNull() SeriesType series, @NonNull() Class<out FormatterType> formatterClass)-
-
Method Detail
-
getSeriesAndFormatterList
@NonNull() List<BundleType> getSeriesAndFormatterList()
-
getSeriesList
@NonNull() List<SeriesType> getSeriesList()
-
size
int size()
-
isEmpty
boolean isEmpty()
-
add
synchronized boolean add(@NonNull() SeriesType series, @NonNull() FormatterType formatter)
-
remove
@NonNull() synchronized List<BundleType> remove(@NonNull() SeriesType series, @NonNull() Class rendererClass)
-
remove
synchronized boolean remove(@NonNull() SeriesType series)
Remove all occurrences of series regardless of the associated Renderer.
-
clear
synchronized void clear()
Remove all series from the plot.
-
getLegendEnabledItems
@NonNull() List<SeriesBundle<SeriesType, FormatterType>> getLegendEnabledItems()
-
contains
boolean contains(@NonNull() SeriesType series, @NonNull() Class<out FormatterType> formatterClass)
-
-
-
-