com.androidplot.pie
Class SegmentFormatter

java.lang.Object
  extended by com.androidplot.ui.Formatter<PieChart>
      extended by com.androidplot.pie.SegmentFormatter

public class SegmentFormatter
extends Formatter<PieChart>


Constructor Summary
SegmentFormatter()
          Should only be used in conjunction with calls to configure()...
SegmentFormatter(Integer fillColor)
           
SegmentFormatter(Integer fillColor, Integer borderColor)
           
SegmentFormatter(Integer fillColor, Integer outerEdgeColor, Integer innerEdgeColor, Integer radialEdgeColor)
           
 
Method Summary
 android.graphics.Paint getFillPaint()
           
 android.graphics.Paint getInnerEdgePaint()
           
 android.graphics.Paint getLabelMarkerPaint()
           
 android.graphics.Paint getLabelPaint()
           
 android.graphics.Paint getOuterEdgePaint()
           
 android.graphics.Paint getRadialEdgePaint()
           
 Class<? extends SeriesRenderer> getRendererClass()
           
 SeriesRenderer getRendererInstance(PieChart plot)
           
 void setFillPaint(android.graphics.Paint fillPaint)
           
 void setInnerEdgePaint(android.graphics.Paint innerEdgePaint)
           
 void setLabelMarkerPaint(android.graphics.Paint labelMarkerPaint)
           
 void setLabelPaint(android.graphics.Paint labelPaint)
           
 void setOuterEdgePaint(android.graphics.Paint outerEdgePaint)
           
 void setRadialEdgePaint(android.graphics.Paint radialEdgePaint)
           
 
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

SegmentFormatter

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


SegmentFormatter

public SegmentFormatter(Integer fillColor)

SegmentFormatter

public SegmentFormatter(Integer fillColor,
                        Integer borderColor)

SegmentFormatter

public SegmentFormatter(Integer fillColor,
                        Integer outerEdgeColor,
                        Integer innerEdgeColor,
                        Integer radialEdgeColor)
Method Detail

getRendererClass

public Class<? extends SeriesRenderer> getRendererClass()
Specified by:
getRendererClass in class Formatter<PieChart>
Returns:
The Class of SeriesRenderer that should be used.

getRendererInstance

public SeriesRenderer getRendererInstance(PieChart plot)
Specified by:
getRendererInstance in class Formatter<PieChart>
Returns:
An instance of SeriesRenderer that took plot as an argument to its constructor.

getInnerEdgePaint

public android.graphics.Paint getInnerEdgePaint()

setInnerEdgePaint

public void setInnerEdgePaint(android.graphics.Paint innerEdgePaint)

getOuterEdgePaint

public android.graphics.Paint getOuterEdgePaint()

setOuterEdgePaint

public void setOuterEdgePaint(android.graphics.Paint outerEdgePaint)

getRadialEdgePaint

public android.graphics.Paint getRadialEdgePaint()

setRadialEdgePaint

public void setRadialEdgePaint(android.graphics.Paint radialEdgePaint)

getFillPaint

public android.graphics.Paint getFillPaint()

setFillPaint

public void setFillPaint(android.graphics.Paint fillPaint)

getLabelPaint

public android.graphics.Paint getLabelPaint()

setLabelPaint

public void setLabelPaint(android.graphics.Paint labelPaint)

getLabelMarkerPaint

public android.graphics.Paint getLabelMarkerPaint()

setLabelMarkerPaint

public void setLabelMarkerPaint(android.graphics.Paint labelMarkerPaint)


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