public enum LabelAlignment extends Enum<LabelAlignment> implements org.eclipse.emf.common.util.Enumerator
VViewPackage.getLabelAlignment()
Enum Constant and Description |
---|
DEFAULT
The 'Default' literal object.
|
LEFT
The 'Left' literal object.
|
NONE
The 'None' literal object.
|
TOP
The 'Top' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_VALUE
The 'Default' literal value.
|
static int |
LEFT_VALUE
The 'Left' literal value.
|
static int |
NONE_VALUE
The 'None' literal value.
|
static int |
TOP_VALUE
The 'Top' literal value.
|
static List<LabelAlignment> |
VALUES
A public read-only list of all the 'Label Alignment' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static LabelAlignment |
get(int value)
Returns the 'Label Alignment' literal with the specified integer value.
|
static LabelAlignment |
get(String literal)
Returns the 'Label Alignment' literal with the specified literal value.
|
static LabelAlignment |
getByName(String name)
Returns the 'Label 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 LabelAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LabelAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelAlignment DEFAULT
DEFAULT_VALUE
public static final LabelAlignment LEFT
LEFT_VALUE
public static final LabelAlignment TOP
TOP_VALUE
public static final LabelAlignment NONE
NONE_VALUE
public static final int DEFAULT_VALUE
If the meaning of 'Default' literal object isn't clear, there really should be more of a description here...
DEFAULT
,
Constant Field Valuespublic 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 TOP_VALUE
If the meaning of 'Top' literal object isn't clear, there really should be more of a description here...
TOP
,
Constant Field Valuespublic static final int NONE_VALUE
If the meaning of 'None' literal object isn't clear, there really should be more of a description here...
NONE
,
Constant Field Valuespublic static final List<LabelAlignment> VALUES
public static LabelAlignment[] values()
for (LabelAlignment c : LabelAlignment.values()) System.out.println(c);
public static LabelAlignment 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 LabelAlignment get(String literal)
literal
- the literal.null
.public static LabelAlignment getByName(String name)
name
- the name.null
.public static LabelAlignment get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public String toString()
toString
in class Enum<LabelAlignment>
Copyright © 2018. All rights reserved.