|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<CellType> org.apache.poi.ss.usermodel.CellType
public enum CellType
Enum Constant Summary | |
---|---|
_NONE
Unknown type, used to represent a state prior to initialization or the lack of a concrete type. |
|
BLANK
Blank cell type |
|
BOOLEAN
Boolean cell type |
|
ERROR
Error cell type |
|
FORMULA
Formula cell type |
|
NUMERIC
Numeric cell type (whole numbers, fractional numbers, dates) |
|
STRING
String (text) cell type |
Method Summary | |
---|---|
static CellType |
forInt(int code)
Deprecated. POI 3.15 beta 3. Used to transition code from int s to CellType s. |
int |
getCode()
Deprecated. POI 3.15 beta 3 |
static CellType |
valueOf(java.lang.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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
@Internal(since="POI 3.15 beta 3") public static final CellType _NONE
public static final CellType NUMERIC
public static final CellType STRING
public static final CellType FORMULA
FormulaType
public static final CellType BLANK
public static final CellType BOOLEAN
public static final CellType ERROR
FormulaError
Method Detail |
---|
public static CellType[] values()
for (CellType c : CellType.values()) System.out.println(c);
public static CellType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static CellType forInt(int code)
int
s to CellType
s.
public int getCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |