|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<LinkLabelAlignment>
org.eclipse.gmf.codegen.gmfgen.LinkLabelAlignment
public enum LinkLabelAlignment
A representation of the literals of the enumeration 'Link Label Alignment',
and utility methods for working with them.
Constants from ConnectionLocator
GMFGenPackage.getLinkLabelAlignment()
Enum Constant Summary | |
---|---|
MIDDLE_LITERAL
The 'MIDDLE' literal object. |
|
SOURCE_LITERAL
The 'SOURCE' literal object. |
|
TARGET_LITERAL
The 'TARGET' literal object. |
Field Summary | |
---|---|
static int |
MIDDLE
The 'MIDDLE' literal value. |
static int |
SOURCE
The 'SOURCE' literal value. |
static int |
TARGET
The 'TARGET' literal value. |
static List<LinkLabelAlignment> |
VALUES
A public read-only list of all the 'Link Label Alignment' enumerators. |
Method Summary | |
---|---|
static LinkLabelAlignment |
get(int value)
Returns the 'Link Label Alignment' literal with the specified integer value. |
static LinkLabelAlignment |
get(String literal)
Returns the 'Link Label Alignment' literal with the specified literal value. |
static LinkLabelAlignment |
getByName(String name)
Returns the 'Link 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 LinkLabelAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LinkLabelAlignment[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final LinkLabelAlignment MIDDLE_LITERAL
MIDDLE
public static final LinkLabelAlignment TARGET_LITERAL
TARGET
public static final LinkLabelAlignment SOURCE_LITERAL
SOURCE
Field Detail |
---|
public static final int MIDDLE
If the meaning of 'MIDDLE' literal object isn't clear, there really should be more of a description here...
MIDDLE_LITERAL
,
Constant Field Valuespublic static final int TARGET
If the meaning of 'TARGET' literal object isn't clear, there really should be more of a description here...
TARGET_LITERAL
,
Constant Field Valuespublic static final int SOURCE
If the meaning of 'SOURCE' literal object isn't clear, there really should be more of a description here...
SOURCE_LITERAL
,
Constant Field Valuespublic static final List<LinkLabelAlignment> VALUES
Method Detail |
---|
public static LinkLabelAlignment[] values()
for (LinkLabelAlignment c : LinkLabelAlignment.values()) System.out.println(c);
public static LinkLabelAlignment 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 LinkLabelAlignment get(String literal)
public static LinkLabelAlignment getByName(String name)
public static LinkLabelAlignment 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<LinkLabelAlignment>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |