org.geotools.gce.grassraster.core.color
Class AttributeTable.CellAttribute

Object
  extended by AttributeTable.CellAttribute
Enclosing class:
AttributeTable

public class AttributeTable.CellAttribute
extends Object


Constructor Summary
AttributeTable.CellAttribute(float cat0, float cat1, String text)
           
AttributeTable.CellAttribute(float cat, String text)
           
 
Method Summary
 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

AttributeTable.CellAttribute

public AttributeTable.CellAttribute(float cat,
                                    String text)

AttributeTable.CellAttribute

public AttributeTable.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


Copyright © 1996-2014 Geotools. All Rights Reserved.