Package io.keikai.model
Enum SCellStyle.Alignment
- java.lang.Object
-
- java.lang.Enum<SCellStyle.Alignment>
-
- io.keikai.model.SCellStyle.Alignment
-
- All Implemented Interfaces:
Serializable
,Comparable<SCellStyle.Alignment>
- Enclosing interface:
- SCellStyle
public static enum SCellStyle.Alignment extends Enum<SCellStyle.Alignment>
The horizontal alignment- Since:
- 3.5.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SCellStyle.Alignment
valueOf(String name)
Returns the enum constant of this type with the specified name.static SCellStyle.Alignment[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENERAL
public static final SCellStyle.Alignment GENERAL
-
LEFT
public static final SCellStyle.Alignment LEFT
-
CENTER
public static final SCellStyle.Alignment CENTER
-
RIGHT
public static final SCellStyle.Alignment RIGHT
-
FILL
public static final SCellStyle.Alignment FILL
-
JUSTIFY
public static final SCellStyle.Alignment JUSTIFY
-
CENTER_SELECTION
public static final SCellStyle.Alignment CENTER_SELECTION
-
-
Method Detail
-
values
public static SCellStyle.Alignment[] 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 (SCellStyle.Alignment c : SCellStyle.Alignment.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SCellStyle.Alignment 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
-
-