com.androidplot.data
Class DatasetSeriesBundle<DatasetType extends Dataset,DatasetFormatType extends DatasetSeriesFormat>

java.lang.Object
  extended by 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.


Constructor Summary
DatasetSeriesBundle(DatasetType dataset, DatasetFormatType format, String title, int series)
           
 
Method Summary
 DatasetType getDataset()
           
 DatasetFormatType getFormat()
           
 int getSeries()
          Get the series that this DatasetSeriesBundle references
 String getTitle()
          Get the title used to represent this series in legends, etc.
 void setFormat(DatasetFormatType format)
           
 void setTitle(String title)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.