com.androidplot.ui.layout
Class PositionMetric<LayoutType extends Enum>

java.lang.Object
  extended by com.androidplot.ui.layout.PositionMetric<LayoutType>
Direct Known Subclasses:
XMetric, YMetric

public abstract class PositionMetric<LayoutType extends Enum>
extends Object


Constructor Summary
PositionMetric(float value, LayoutType layoutType)
           
 
Method Summary
 LayoutType getLayoutType()
           
abstract  float getPixelValue(float size)
           
 float getValue()
           
 void set(float value, LayoutType layoutType)
           
 void setLayoutType(LayoutType layoutType)
           
 void setValue(float value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PositionMetric

public PositionMetric(float value,
                      LayoutType layoutType)
Method Detail

set

public void set(float value,
                LayoutType layoutType)

getValue

public float getValue()

setValue

public void setValue(float value)

getPixelValue

public abstract float getPixelValue(float size)

getLayoutType

public LayoutType getLayoutType()

setLayoutType

public void setLayoutType(LayoutType layoutType)


Copyright © 2011. All Rights Reserved.