Package com.sodius.mdw.metamodel.excel
Enum HorizontalAlignment
- java.lang.Object
-
- java.lang.Enum<HorizontalAlignment>
-
- com.sodius.mdw.metamodel.excel.HorizontalAlignment
-
- All Implemented Interfaces:
Serializable
,Comparable<HorizontalAlignment>
,org.eclipse.emf.common.util.Enumerator
public enum HorizontalAlignment extends Enum<HorizontalAlignment> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Horizontal Alignment', and utility methods for working with them.- See Also:
ExcelPackage.getHorizontalAlignment()
-
-
Enum Constant Summary
Enum Constants Enum Constant 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.
-
Field Summary
Fields Modifier and Type Field 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
GENERAL_LITERAL
public static final HorizontalAlignment GENERAL_LITERAL
The 'General' literal object.- See Also:
GENERAL
-
LEFT_LITERAL
public static final HorizontalAlignment LEFT_LITERAL
The 'Left' literal object.- See Also:
LEFT
-
RIGHT_LITERAL
public static final HorizontalAlignment RIGHT_LITERAL
The 'Right' literal object.- See Also:
RIGHT
-
CENTER_LITERAL
public static final HorizontalAlignment CENTER_LITERAL
The 'Center' literal object.- See Also:
CENTER
-
FILL_LITERAL
public static final HorizontalAlignment FILL_LITERAL
The 'Fill' literal object.- See Also:
FILL
-
JUSTIFY_LITERAL
public static final HorizontalAlignment JUSTIFY_LITERAL
The 'Justify' literal object.- See Also:
JUSTIFY
-
CENTER_SELECTION_LITERAL
public static final HorizontalAlignment CENTER_SELECTION_LITERAL
The 'Center Selection' literal object.- See Also:
CENTER_SELECTION
-
DISTRIBUTED_LITERAL
public static final HorizontalAlignment DISTRIBUTED_LITERAL
The 'Distributed' literal object.- See Also:
DISTRIBUTED
-
-
Field Detail
-
GENERAL
public static final int GENERAL
The 'General' literal value.- See Also:
GENERAL_LITERAL
, Constant Field Values
-
LEFT
public static final int LEFT
The 'Left' literal value.- See Also:
LEFT_LITERAL
, Constant Field Values
-
RIGHT
public static final int RIGHT
The 'Right' literal value.- See Also:
RIGHT_LITERAL
, Constant Field Values
-
CENTER
public static final int CENTER
The 'Center' literal value.- See Also:
CENTER_LITERAL
, Constant Field Values
-
FILL
public static final int FILL
The 'Fill' literal value.- See Also:
FILL_LITERAL
, Constant Field Values
-
JUSTIFY
public static final int JUSTIFY
The 'Justify' literal value.- See Also:
JUSTIFY_LITERAL
, Constant Field Values
-
CENTER_SELECTION
public static final int CENTER_SELECTION
The 'Center Selection' literal value.- See Also:
CENTER_SELECTION_LITERAL
, Constant Field Values
-
DISTRIBUTED
public static final int DISTRIBUTED
The 'Distributed' literal value.- See Also:
DISTRIBUTED_LITERAL
, Constant Field Values
-
VALUES
public static final List<HorizontalAlignment> VALUES
A public read-only list of all the 'Horizontal Alignment' enumerators.
-
-
Method Detail
-
values
public static HorizontalAlignment[] 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 (HorizontalAlignment c : HorizontalAlignment.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HorizontalAlignment 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
-
get
public static HorizontalAlignment get(String literal)
Returns the 'Horizontal Alignment' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static HorizontalAlignment getByName(String name)
Returns the 'Horizontal Alignment' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static HorizontalAlignment get(int value)
Returns the 'Horizontal Alignment' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<HorizontalAlignment>
-
-