com.androidplot
Class PlotLayout

java.lang.Object
  extended by com.androidplot.PlotLayout
Direct Known Subclasses:
BarPlotLayout, XYPlotLayout

public abstract class PlotLayout
extends Object

Base class for all PlotLayouts. Encapsulates the geometry of a Plot.


Constructor Summary
PlotLayout(android.view.View view)
           
 
Method Summary
 int getHeight()
           
 int getMarginBottom()
           
 int getMarginLeft()
           
 int getMarginRight()
           
 int getMarginTop()
           
 int getWidth()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlotLayout

public PlotLayout(android.view.View view)
Parameters:
view - The Plot with which this PlotLayout is associated.
Method Detail

getMarginLeft

public int getMarginLeft()
Returns:
Space in pixels between the PlotLayout's lefthand border and the graphics inside.

getWidth

public int getWidth()
Returns:
The width in pixels of the Plot with which this PlotLayout is associated.

getHeight

public int getHeight()
Returns:
The height in pixels of the Plot with which this PlotLayout is associated.

getMarginTop

public int getMarginTop()
Returns:
Space in pixels between the PlotLayout's upper border and the graphics inside.

getMarginBottom

public int getMarginBottom()
Returns:
Space in pixels between the PlotLayout's lower border and the graphics inside.

getMarginRight

public int getMarginRight()
Returns:
Space in pixels between the PlotLayout's righthand border and the graphics inside.


Copyright © 2010. All Rights Reserved.