1 19 20 package jxl; 21 22 25 public final class CellType 26 { 27 28 31 private String description; 32 33 37 private CellType(String desc) 38 { 39 description = desc; 40 } 41 42 47 public String toString() 48 { 49 return description; 50 } 51 52 54 public static final CellType EMPTY = new CellType("Empty"); 55 57 public static final CellType LABEL = new CellType("Label"); 58 60 public static final CellType NUMBER = new CellType("Number"); 61 63 public static final CellType BOOLEAN = new CellType("Boolean"); 64 66 public static final CellType ERROR = new CellType("Error"); 67 69 public static final CellType NUMBER_FORMULA = 70 new CellType("Numerical Formula"); 71 73 public static final CellType DATE_FORMULA = new CellType("Date Formula"); 74 76 public static final CellType STRING_FORMULA = new CellType("String Formula"); 77 79 public static final CellType BOOLEAN_FORMULA = 80 new CellType("Boolean Formula"); 81 83 public static final CellType FORMULA_ERROR = new CellType("Formula Error"); 84 86 public static final CellType DATE = new CellType("Date"); 87 } 88 89 90 | Popular Tags |