|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<LabelAlignment>
org.eclipse.emf.ecp.view.spi.model.LabelAlignment
public enum LabelAlignment
A representation of the literals of the enumeration 'Label Alignment', and utility methods for working with them.
VViewPackage.getLabelAlignment()
Enum Constant Summary | |
---|---|
LEFT
The 'Left' literal object. |
|
NONE
The 'None' literal object. |
Field Summary | |
---|---|
static int |
LEFT_VALUE
The 'Left' literal value. |
static int |
NONE_VALUE
The 'None' literal value. |
static List<LabelAlignment> |
VALUES
A public read-only list of all the 'Label Alignment' enumerators. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final LabelAlignment LEFT
LEFT_VALUE
public static final LabelAlignment NONE
NONE_VALUE
Field Detail |
---|
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 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
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic static LabelAlignment get(String literal)
public static LabelAlignment getByName(String name)
public static LabelAlignment get(int value)
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>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |