com.androidplot
Class PlotFormat

java.lang.Object
  extended by com.androidplot.PlotFormat
Direct Known Subclasses:
BarPlotFormat, XYPlotFormat

public abstract class PlotFormat
extends Object

Base class for all PlotFormats. Encapsulates all color and line styling for a .


Constructor Summary
PlotFormat()
           
 
Method Summary
 android.graphics.Paint getBorderPaint()
           
 android.graphics.Paint getDebugLayoutPaint()
           
 android.graphics.Paint getTitlePaint()
           
 boolean isDrawDebugLayoutEnabled()
           
 void setBorderPaint(android.graphics.Paint borderPaint)
           
 void setDebugLayoutPaint(android.graphics.Paint debugLayoutPaint)
           
 void setDrawDebugLayoutEnabled(boolean drawDebugLayoutEnabled)
          Enabled debugging mode.
 void setTitlePaint(android.graphics.Paint titlePaint)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlotFormat

public PlotFormat()
Method Detail

getBorderPaint

public android.graphics.Paint getBorderPaint()
Returns:
Paint used to draw the border.

setBorderPaint

public void setBorderPaint(android.graphics.Paint borderPaint)
Parameters:
borderPaint - Paint used to draw the border.

getTitlePaint

public android.graphics.Paint getTitlePaint()
Returns:
Paint used to draw the title.

setTitlePaint

public void setTitlePaint(android.graphics.Paint titlePaint)
Parameters:
titlePaint - Paint used to draw the title.

getDebugLayoutPaint

public android.graphics.Paint getDebugLayoutPaint()
Returns:
Paint used to draw debugging mode outline.

setDebugLayoutPaint

public void setDebugLayoutPaint(android.graphics.Paint debugLayoutPaint)
Parameters:
debugLayoutPaint - Paint used to draw debugging mode outline.

isDrawDebugLayoutEnabled

public boolean isDrawDebugLayoutEnabled()
Returns:
Whether or not debugging mode is enabled.

setDrawDebugLayoutEnabled

public void setDrawDebugLayoutEnabled(boolean drawDebugLayoutEnabled)
Enabled debugging mode. If enabled, an outline is drawn around the sub-sections of the associated Plot.

Parameters:
drawDebugLayoutEnabled - If true, debugging mode will be enabled.


Copyright © 2010. All Rights Reserved.