com.androidplot.ui.layout
Class YMetric

java.lang.Object
  extended by com.androidplot.ui.layout.PositionMetric<YLayoutStyle>
      extended by com.androidplot.ui.layout.YMetric

public class YMetric
extends PositionMetric<YLayoutStyle>

Created by IntelliJ IDEA. User: nfellows Date: 12/29/10 Time: 7:40 PM To change this template use File | Settings | File Templates.


Constructor Summary
YMetric(float value, YLayoutStyle layoutStyle)
           
 
Method Summary
 LayoutType getLayoutType()
           
 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

YMetric

public YMetric(float value,
               YLayoutStyle layoutStyle)
Method Detail

getPixelValue

public float getPixelValue(float size)

set

public void set(float value,
                LayoutType layoutType)

getValue

public float getValue()

setValue

public void setValue(float value)

getLayoutType

public LayoutType getLayoutType()

setLayoutType

public void setLayoutType(LayoutType layoutType)


Copyright © 2011. All Rights Reserved.