public enum ExcelAlignType extends Enum<ExcelAlignType>
Enum Constant and Description |
---|
CENTER
居中
|
CENTER_SELECTION
跨列举中
|
DEFAULT
默认
|
DISTRIBUTED
分布对齐
|
FILL
填充
|
JUSTIFY
两端对齐
|
LEFT
左对齐
|
RIGHT
右对齐
|
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static ExcelAlignType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExcelAlignType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExcelAlignType DEFAULT
public static final ExcelAlignType LEFT
public static final ExcelAlignType CENTER
public static final ExcelAlignType RIGHT
public static final ExcelAlignType FILL
public static final ExcelAlignType JUSTIFY
public static final ExcelAlignType CENTER_SELECTION
public static final ExcelAlignType DISTRIBUTED
public static ExcelAlignType[] values()
for (ExcelAlignType c : ExcelAlignType.values()) System.out.println(c);
public static ExcelAlignType 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 getCode()
Copyright © 2024. All rights reserved.