public enum CellType extends Enum<CellType> implements Enumerator
ExcelPackage.getCellType()
Enum Constant and Description |
---|
BOOLEAN_LITERAL
The 'Boolean' literal object.
|
ERROR_LITERAL
The 'Error' literal object.
|
FORMULA_LITERAL
The 'Formula' literal object.
|
HYPERLINK_LITERAL
The 'Hyperlink' literal object.
|
NUMERIC_LITERAL
The 'Numeric' literal object.
|
STRING_LITERAL
The 'String' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
BOOLEAN
The 'Boolean' literal value.
|
static int |
ERROR
The 'Error' literal value.
|
static int |
FORMULA
The 'Formula' literal value.
|
static int |
HYPERLINK
The 'Hyperlink' literal value.
|
static int |
NUMERIC
The 'Numeric' literal value.
|
static int |
STRING
The 'String' literal value.
|
static List<CellType> |
VALUES
A public read-only list of all the 'Cell Type' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static CellType |
get(int value)
Returns the 'Cell Type' literal with the specified integer value.
|
static CellType |
get(String literal)
Returns the 'Cell Type' literal with the specified literal value.
|
static CellType |
getByName(String name)
Returns the 'Cell Type' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
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 STRING_LITERAL
STRING
public static final CellType NUMERIC_LITERAL
NUMERIC
public static final CellType FORMULA_LITERAL
FORMULA
public static final CellType BOOLEAN_LITERAL
BOOLEAN
public static final CellType ERROR_LITERAL
ERROR
public static final int STRING
STRING_LITERAL
,
Constant Field Valuespublic static final int NUMERIC
NUMERIC_LITERAL
,
Constant Field Valuespublic static final int FORMULA
FORMULA_LITERAL
,
Constant Field Valuespublic static final int BOOLEAN
BOOLEAN_LITERAL
,
Constant Field Valuespublic static final int ERROR
ERROR_LITERAL
,
Constant Field Valuespublic static final int HYPERLINK
HYPERLINK_LITERAL
,
Constant Field Valuespublic 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 static CellType get(String literal)
literal
- the literal.null
.public static CellType getByName(String name)
name
- the name.null
.public static CellType get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator