com.androidplot.xy
Class XYSeriesFormatter<XYRegionFormatterType extends XYRegionFormatter>
java.lang.Object
com.androidplot.ui.Formatter<XYPlot>
com.androidplot.xy.XYSeriesFormatter<XYRegionFormatterType>
- Direct Known Subclasses:
- LineAndPointFormatter
public abstract class XYSeriesFormatter<XYRegionFormatterType extends XYRegionFormatter>
- extends Formatter<XYPlot>
XYSeriesFormatter
public XYSeriesFormatter()
addRegion
public void addRegion(RectRegion region,
XYRegionFormatterType regionFormatter)
removeRegion
public void removeRegion(RectRegion region)
getRegions
public ZIndexable<RectRegion> getRegions()
- Can be used to access z-index manipulation methods of ZIndexable.
- Returns:
getRegionFormatter
public XYRegionFormatterType getRegionFormatter(RectRegion region)
- Parameters:
region
-
- Returns:
getRendererInstance
public abstract SeriesRenderer getRendererInstance(XYPlot plot)
- Not completely sure why this is necessary, but if it's not here then
subclasses are forced to take a Plot instead of an XYPlot as a parameter,
which in turn breaks the pattern.
- Specified by:
getRendererInstance
in class Formatter<XYPlot>
- Parameters:
plot
-
- Returns:
Copyright © 2010-2013 androidplot.com. All Rights Reserved.