Package ch.rabanti.picoxlsx4j.style
Enum Font.VerticalAlignValue
- java.lang.Object
-
- java.lang.Enum<Font.VerticalAlignValue>
-
- ch.rabanti.picoxlsx4j.style.Font.VerticalAlignValue
-
- All Implemented Interfaces:
Serializable
,Comparable<Font.VerticalAlignValue>
- Enclosing class:
- Font
public static enum Font.VerticalAlignValue extends Enum<Font.VerticalAlignValue>
Enum for the vertical alignment of the text from base line
-
-
Enum Constant Summary
Enum Constants Enum Constant Description none
Text will be rendered normalsubscript
Text will be rendered as subscriptsuperscript
Text will be rendered as superscript
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static Font.VerticalAlignValue
valueOf(String name)
Returns the enum constant of this type with the specified name.static Font.VerticalAlignValue[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
subscript
public static final Font.VerticalAlignValue subscript
Text will be rendered as subscript
-
superscript
public static final Font.VerticalAlignValue superscript
Text will be rendered as superscript
-
none
public static final Font.VerticalAlignValue none
Text will be rendered normal
-
-
Method Detail
-
values
public static Font.VerticalAlignValue[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Font.VerticalAlignValue c : Font.VerticalAlignValue.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Font.VerticalAlignValue valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()
-
-