public enum CellType extends Enum<CellType>
| Enum Constant and Description |
|---|
BLANK |
BOOLEAN |
FORMULA |
NUMERIC |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static CellType |
getCellTypeBasedOnNumeric(int numericCellType)
Get cell type based on numeric value
|
int |
getNumericCellType() |
static CellType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CellType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CellType NUMERIC
public static final CellType STRING
public static final CellType FORMULA
public static final CellType BLANK
public static final CellType BOOLEAN
public static CellType[] values()
for (CellType c : CellType.values()) System.out.println(c);
public static CellType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getNumericCellType()
public static CellType getCellTypeBasedOnNumeric(int numericCellType)
numericCellType - Copyright © 2011-2015 BSTOI.NL. All Rights Reserved.