Package 

Class SizeMetric


  • 
    public class SizeMetric
    extends LayoutMetric<SizeMode>
                        

    Encapsulates a sizing algorithm and an associated value. The available algorithms list are stored in the SizeMode enumeration.

    • Constructor Summary

      Constructors 
      Constructor Description
      SizeMetric(float value, SizeMode layoutType)
    • Method Summary

      Modifier and Type Method Description
      float getPixelValue(float size)
      void setLayoutType(SizeMode layoutType)
      • Methods inherited from class com.androidplot.ui.LayoutMetric

        getLayoutType, getValue, set, setLayoutType, setValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait