com.androidplot.data
Class DatasetSeriesBundle<DatasetType extends Dataset,DatasetFormatType extends DatasetSeriesFormat>
java.lang.Object
com.androidplot.data.DatasetSeriesBundle<DatasetType,DatasetFormatType>
- Direct Known Subclasses:
- XYDatasetSeriesBundle
public abstract class DatasetSeriesBundle<DatasetType extends Dataset,DatasetFormatType extends DatasetSeriesFormat>
- extends Object
Associates a Dataset series with a DatasetSeriesFormat and a title. Plots use this object to apply
rendering options to each series bound to it.
DatasetSeriesBundle
public DatasetSeriesBundle(DatasetType dataset,
DatasetFormatType format,
String title,
int series)
- Parameters:
dataset
- The Dataset that contains the series of interest.format
- The DatasetFormat to apply to this series.title
- The display title for this series.series
- The series number within dataset to associate with the bundle.
getDataset
public DatasetType getDataset()
getFormat
public DatasetFormatType getFormat()
setFormat
public void setFormat(DatasetFormatType format)
getTitle
public String getTitle()
- Get the title used to represent this series in legends, etc.
- Returns:
- The title.
setTitle
public void setTitle(String title)
getSeries
public int getSeries()
- Get the series that this DatasetSeriesBundle references
- Returns:
- series number
Copyright © 2010. All Rights Reserved.