com.androidplot.xy
Class BezierLineAndPointFormatter

java.lang.Object
  extended by com.androidplot.ui.Formatter<XYPlot>
      extended by com.androidplot.xy.XYSeriesFormatter<XYRegionFormatter>
          extended by com.androidplot.xy.LineAndPointFormatter
              extended by com.androidplot.xy.BezierLineAndPointFormatter

public class BezierLineAndPointFormatter
extends LineAndPointFormatter

This is an experimental class and should not currently be used in production apps.


Constructor Summary
BezierLineAndPointFormatter()
          Should only be used in conjunction with calls to configure()...
BezierLineAndPointFormatter(Integer lineColor, Integer vertexColor, Integer fillColor)
           
BezierLineAndPointFormatter(Integer lineColor, Integer vertexColor, Integer fillColor, FillDirection fillDir)
           
 
Method Summary
 Class<? extends SeriesRenderer> getRendererClass()
           
 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.
 
Methods inherited from class com.androidplot.xy.LineAndPointFormatter
disableShadows, enableShadows, getFillDirection, getFillPaint, getLinePaint, getPointLabeler, getPointLabelFormatter, getVertexPaint, setFillDirection, setFillPaint, setLinePaint, setPointLabeler, setPointLabelFormatter, setVertexPaint
 
Methods inherited from class com.androidplot.xy.XYSeriesFormatter
addRegion, getRegionFormatter, getRegions, removeRegion
 
Methods inherited from class com.androidplot.ui.Formatter
configure
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BezierLineAndPointFormatter

public BezierLineAndPointFormatter()
Should only be used in conjunction with calls to configure()...


BezierLineAndPointFormatter

public BezierLineAndPointFormatter(Integer lineColor,
                                   Integer vertexColor,
                                   Integer fillColor)

BezierLineAndPointFormatter

public BezierLineAndPointFormatter(Integer lineColor,
                                   Integer vertexColor,
                                   Integer fillColor,
                                   FillDirection fillDir)
Method Detail

getRendererClass

public Class<? extends SeriesRenderer> getRendererClass()
Overrides:
getRendererClass in class LineAndPointFormatter
Returns:
The Class of SeriesRenderer that should be used.

getRendererInstance

public SeriesRenderer getRendererInstance(XYPlot plot)
Description copied from class: XYSeriesFormatter
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.

Overrides:
getRendererInstance in class LineAndPointFormatter
Returns:
An instance of SeriesRenderer that took plot as an argument to its constructor.


Copyright © 2010-2013 androidplot.com. All Rights Reserved.