Class AttributeTable.CellAttribute

  • Enclosing class:
    AttributeTable

    public class AttributeTable.CellAttribute
    extends Object
    • Constructor Summary

      Constructors 
      Constructor Description
      CellAttribute​(float cat0, float cat1, String text)  
      CellAttribute​(float cat, String text)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(float cat)
      Compare a value to the range of values in this attribute If the cat is below the renage then return -1, if it is aboove the ramge then return +1, if it is equal return 0
      float getCategoryRange()  
      float getLowcategoryValue()  
      String getText()  
      String toString()  
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CellAttribute

        public CellAttribute​(float cat,
                             String text)
      • CellAttribute

        public CellAttribute​(float cat0,
                             float cat1,
                             String text)
    • Method Detail

      • compare

        public int compare​(float cat)
        Compare a value to the range of values in this attribute If the cat is below the renage then return -1, if it is aboove the ramge then return +1, if it is equal return 0
      • getText

        public String getText()
      • getLowcategoryValue

        public float getLowcategoryValue()
      • getCategoryRange

        public float getCategoryRange()
      • toString

        public String toString()
        Overrides:
        toString in class Object