public enum HorizontalAlignment extends Enum<HorizontalAlignment> implements Enumerator
ExcelPackage.getHorizontalAlignment()
Enum Constant and Description |
---|
CENTER_LITERAL
The 'Center' literal object.
|
CENTER_SELECTION_LITERAL
The 'Center Selection' literal object.
|
DISTRIBUTED_LITERAL
The 'Distributed' literal object.
|
FILL_LITERAL
The 'Fill' literal object.
|
GENERAL_LITERAL
The 'General' literal object.
|
JUSTIFY_LITERAL
The 'Justify' literal object.
|
LEFT_LITERAL
The 'Left' literal object.
|
RIGHT_LITERAL
The 'Right' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
CENTER
The 'Center' literal value.
|
static int |
CENTER_SELECTION
The 'Center Selection' literal value.
|
static int |
DISTRIBUTED
The 'Distributed' literal value.
|
static int |
FILL
The 'Fill' literal value.
|
static int |
GENERAL
The 'General' literal value.
|
static int |
JUSTIFY
The 'Justify' literal value.
|
static int |
LEFT
The 'Left' literal value.
|
static int |
RIGHT
The 'Right' literal value.
|
static List<HorizontalAlignment> |
VALUES
A public read-only list of all the 'Horizontal Alignment' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static HorizontalAlignment |
get(int value)
Returns the 'Horizontal Alignment' literal with the specified integer value.
|
static HorizontalAlignment |
get(String literal)
Returns the 'Horizontal Alignment' literal with the specified literal value.
|
static HorizontalAlignment |
getByName(String name)
Returns the 'Horizontal Alignment' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static HorizontalAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HorizontalAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HorizontalAlignment GENERAL_LITERAL
GENERAL
public static final HorizontalAlignment LEFT_LITERAL
LEFT
public static final HorizontalAlignment RIGHT_LITERAL
RIGHT
public static final HorizontalAlignment CENTER_LITERAL
CENTER
public static final HorizontalAlignment FILL_LITERAL
FILL
public static final HorizontalAlignment JUSTIFY_LITERAL
JUSTIFY
public static final HorizontalAlignment CENTER_SELECTION_LITERAL
CENTER_SELECTION
public static final HorizontalAlignment DISTRIBUTED_LITERAL
DISTRIBUTED
public static final int GENERAL
GENERAL_LITERAL
,
Constant Field Valuespublic static final int LEFT
LEFT_LITERAL
,
Constant Field Valuespublic static final int RIGHT
RIGHT_LITERAL
,
Constant Field Valuespublic static final int CENTER
CENTER_LITERAL
,
Constant Field Valuespublic static final int FILL
FILL_LITERAL
,
Constant Field Valuespublic static final int JUSTIFY
JUSTIFY_LITERAL
,
Constant Field Valuespublic static final int CENTER_SELECTION
CENTER_SELECTION_LITERAL
,
Constant Field Valuespublic static final int DISTRIBUTED
DISTRIBUTED_LITERAL
,
Constant Field Valuespublic static final List<HorizontalAlignment> VALUES
public static HorizontalAlignment[] values()
for (HorizontalAlignment c : HorizontalAlignment.values()) System.out.println(c);
public static HorizontalAlignment valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static HorizontalAlignment get(String literal)
literal
- the literal.null
.public static HorizontalAlignment getByName(String name)
name
- the name.null
.public static HorizontalAlignment get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<HorizontalAlignment>