Class AttributeTable.CellAttribute
- java.lang.Object
-
- org.hortonmachine.gears.io.grasslegacy.map.attribute.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 intcompare(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 0floatgetCategoryRange()floatgetLowcategoryValue()StringgetText()StringtoString()
-
-
-
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()
-
-