public enum MAlignment extends java.lang.Enum<MAlignment> implements org.eclipse.emf.common.util.Enumerator
GridPackage.getMAlignment()
Enum Constant and Description |
---|
CENTER
The 'CENTER' literal object.
|
LEFT
The 'LEFT' literal object.
|
RIGHT
The 'RIGHT' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
CENTER_VALUE
The 'CENTER' literal value.
|
static java.lang.String |
copyright |
static int |
LEFT_VALUE
The 'LEFT' literal value.
|
static int |
RIGHT_VALUE
The 'RIGHT' literal value.
|
static java.util.List<MAlignment> |
VALUES
A public read-only list of all the 'MAlignment' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static MAlignment |
get(int value)
Returns the 'MAlignment' literal with the specified integer value.
|
static MAlignment |
get(java.lang.String literal)
Returns the 'MAlignment' literal with the specified literal value.
|
static MAlignment |
getByName(java.lang.String name)
Returns the 'MAlignment' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static MAlignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MAlignment LEFT
LEFT_VALUE
public static final MAlignment CENTER
CENTER_VALUE
public static final MAlignment RIGHT
RIGHT_VALUE
public static final java.lang.String copyright
public static final int LEFT_VALUE
If the meaning of 'LEFT' literal object isn't clear, there really should be more of a description here...
LEFT
,
Constant Field Valuespublic static final int CENTER_VALUE
If the meaning of 'CENTER' literal object isn't clear, there really should be more of a description here...
CENTER
,
Constant Field Valuespublic static final int RIGHT_VALUE
If the meaning of 'RIGHT' literal object isn't clear, there really should be more of a description here...
RIGHT
,
Constant Field Valuespublic static final java.util.List<MAlignment> VALUES
public static MAlignment[] values()
for (MAlignment c : MAlignment.values()) System.out.println(c);
public static MAlignment valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static MAlignment get(java.lang.String literal)
public static MAlignment getByName(java.lang.String name)
public static MAlignment get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<MAlignment>