public abstract class SeriesRegistry<BundleType extends SeriesBundle<SeriesType,FormatterType>,SeriesType extends Series,FormatterType extends Formatter>
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SeriesRegistry() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(SeriesType series,
FormatterType formatter) |
void |
clear()
Remove all series from the plot.
|
boolean |
contains(SeriesType series,
java.lang.Class<? extends FormatterType> formatterClass) |
protected java.util.List<SeriesBundle<SeriesType,FormatterType>> |
get(SeriesType series) |
java.util.List<SeriesBundle<SeriesType,FormatterType>> |
getLegendEnabledItems() |
java.util.List<BundleType> |
getSeriesAndFormatterList() |
java.util.List<SeriesType> |
getSeriesList() |
boolean |
isEmpty() |
protected abstract BundleType |
newSeriesBundle(SeriesType series,
FormatterType formatter) |
boolean |
remove(SeriesType series)
Remove all occurrences of series regardless of the associated Renderer.
|
java.util.List<BundleType> |
remove(SeriesType series,
java.lang.Class rendererClass) |
int |
size() |
public java.util.List<BundleType> getSeriesAndFormatterList()
public java.util.List<SeriesType> getSeriesList()
public int size()
public boolean isEmpty()
public boolean add(SeriesType series, FormatterType formatter)
protected abstract BundleType newSeriesBundle(SeriesType series, FormatterType formatter)
protected java.util.List<SeriesBundle<SeriesType,FormatterType>> get(SeriesType series)
series
- SeriesBundle
instances that reference series.public java.util.List<BundleType> remove(SeriesType series, java.lang.Class rendererClass)
public boolean remove(SeriesType series)
series
- public void clear()
public java.util.List<SeriesBundle<SeriesType,FormatterType>> getLegendEnabledItems()
public boolean contains(SeriesType series, java.lang.Class<? extends FormatterType> formatterClass)