|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<LabelTextAccessMethod>
org.eclipse.gmf.codegen.gmfgen.LabelTextAccessMethod
public enum LabelTextAccessMethod
A representation of the literals of the enumeration 'Label Text Access Method', and utility methods for working with them.
GMFGenPackage.getLabelTextAccessMethod()
Enum Constant Summary | |
---|---|
MESSAGE_FORMAT
The 'MESSAGE FORMAT' literal object. |
|
NATIVE
The 'NATIVE' literal object. |
|
PRINTF
The 'PRINTF' literal object. |
|
REGEXP
The 'REGEXP' literal object. |
Field Summary | |
---|---|
static int |
MESSAGE_FORMAT_VALUE
The 'MESSAGE FORMAT' literal value. |
static int |
NATIVE_VALUE
The 'NATIVE' literal value. |
static int |
PRINTF_VALUE
The 'PRINTF' literal value. |
static int |
REGEXP_VALUE
The 'REGEXP' literal value. |
static List<LabelTextAccessMethod> |
VALUES
A public read-only list of all the 'Label Text Access Method' enumerators. |
Method Summary | |
---|---|
static LabelTextAccessMethod |
get(int value)
Returns the 'Label Text Access Method' literal with the specified integer value. |
static LabelTextAccessMethod |
get(String literal)
Returns the 'Label Text Access Method' literal with the specified literal value. |
static LabelTextAccessMethod |
getByName(String name)
Returns the 'Label Text Access Method' 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 LabelTextAccessMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LabelTextAccessMethod[] |
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 LabelTextAccessMethod MESSAGE_FORMAT
MESSAGE_FORMAT_VALUE
public static final LabelTextAccessMethod NATIVE
NATIVE_VALUE
public static final LabelTextAccessMethod REGEXP
REGEXP_VALUE
public static final LabelTextAccessMethod PRINTF
PRINTF_VALUE
Field Detail |
---|
public static final int MESSAGE_FORMAT_VALUE
If the meaning of 'MESSAGE FORMAT' literal object isn't clear, there really should be more of a description here...
MESSAGE_FORMAT
,
Constant Field Valuespublic static final int NATIVE_VALUE
If the meaning of 'NATIVE' literal object isn't clear, there really should be more of a description here...
NATIVE
,
Constant Field Valuespublic static final int REGEXP_VALUE
If the meaning of 'REGEXP' literal object isn't clear, there really should be more of a description here...
REGEXP
,
Constant Field Valuespublic static final int PRINTF_VALUE
If the meaning of 'PRINTF' literal object isn't clear, there really should be more of a description here...
PRINTF
,
Constant Field Valuespublic static final List<LabelTextAccessMethod> VALUES
Method Detail |
---|
public static LabelTextAccessMethod[] values()
for (LabelTextAccessMethod c : LabelTextAccessMethod.values()) System.out.println(c);
public static LabelTextAccessMethod 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 LabelTextAccessMethod get(String literal)
public static LabelTextAccessMethod getByName(String name)
public static LabelTextAccessMethod 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<LabelTextAccessMethod>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |