com.androidplot.bar
Interface BarPlotFormatFilter


public interface BarPlotFormatFilter

Provides a way to apply a customized BarFormat based on index, value, etc.


Method Summary
 BarFormat getUserBarFormat(int index)
          All BarFormatFilters must maintain a list of active BarFormats.
 BarFormat getUserBarFormat(int group, int bar)
          Retrieve a user defined BarFormat.
 int getUserBarFormatCount()
           
 

Method Detail

getUserBarFormat

BarFormat getUserBarFormat(int group,
                           int bar)
Retrieve a user defined BarFormat.

Parameters:
group - The group for which the custom format should be retrieved.
bar - The bar for which the custom format should be retrieved.
Returns:
The user defined BarFormat.

getUserBarFormatCount

int getUserBarFormatCount()
Returns:
The number of user defined BarFormats.

getUserBarFormat

BarFormat getUserBarFormat(int index)
All BarFormatFilters must maintain a list of active BarFormats. This method is used by the plot to iterate through these BarFormats in a repeatable way. Implementations of this method should make sure that the output is always the same for a given input.

Parameters:
index - The index of the user defined BarFormat, starting at 0.
Returns:
The BarFormat at index.


Copyright © 2010. All Rights Reserved.