Package com.grapecity.documents.excel
Enum Class VerticalAlignment
- All Implemented Interfaces:
Serializable,Comparable<VerticalAlignment>,Constable
指定文本的垂直对齐方式。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription指定文本放置在底部。指定文本垂直居中。指定旋转后的文本应换行并对齐,以使左侧和右侧形成直边,包括最后一行。指定旋转后的文本垂直对齐。指定文本放置在顶部。 -
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
指定文本放置在顶部。 -
Center
指定文本垂直居中。 -
Bottom
指定文本放置在底部。 -
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
-