Package ch.rabanti.picoxlsx4j.style
Enum CellXf.TextDirectionValue
- java.lang.Object
-
- java.lang.Enum<CellXf.TextDirectionValue>
-
- ch.rabanti.picoxlsx4j.style.CellXf.TextDirectionValue
-
- All Implemented Interfaces:
Serializable
,Comparable<CellXf.TextDirectionValue>
- Enclosing class:
- CellXf
public static enum CellXf.TextDirectionValue extends Enum<CellXf.TextDirectionValue>
Enum for the general text alignment direction
-
-
Enum Constant Summary
Enum Constants Enum Constant Description horizontal
Text direction is horizontal (default)vertical
Text direction is vertical
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static CellXf.TextDirectionValue
valueOf(String name)
Returns the enum constant of this type with the specified name.static CellXf.TextDirectionValue[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
horizontal
public static final CellXf.TextDirectionValue horizontal
Text direction is horizontal (default)
-
vertical
public static final CellXf.TextDirectionValue vertical
Text direction is vertical
-
-
Method Detail
-
values
public static CellXf.TextDirectionValue[] 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 (CellXf.TextDirectionValue c : CellXf.TextDirectionValue.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CellXf.TextDirectionValue 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()
-
-