Enum Class VerticalAlignment
- All Implemented Interfaces:
Serializable, Comparable<VerticalAlignment>, Constable
儲存格垂直對齊方式
框架無關的垂直對齊列舉,於 CellStyle 套用時對映到底層 POI 的垂直對齊型別。
- Since:
- 4.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic VerticalAlignmentReturns the enum constant of this class with the specified name.static VerticalAlignment[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOP
靠上對齊 -
BOTTOM
靠下對齊 -
MIDDLE
垂直置中 -
JUSTIFY
上下對齊 -
DISTRIBUTED
分散對齊
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-