public enum Method extends java.lang.Enum<Method> implements org.eclipse.emf.common.util.Enumerator
SvgPackage.getMethod()
Enum Constant and Description |
---|
ALIGN
The 'Align' literal object
|
STRETCH
The 'Stretch' literal object
|
Modifier and Type | Field and Description |
---|---|
static int |
ALIGN_VALUE
The 'Align' literal value
|
static int |
STRETCH_VALUE
The 'Stretch' literal value
|
static java.util.List<Method> |
VALUES
A public read-only list of all the 'Method' enumerators
|
Modifier and Type | Method and Description |
---|---|
static Method |
get(int value)
Returns the 'Method' literal with the specified integer value
|
static Method |
get(java.lang.String literal)
Returns the 'Method' literal with the specified literal value
|
static Method |
getByName(java.lang.String name)
Returns the 'Method' 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 Method |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Method ALIGN
ALIGN_VALUE
public static final Method STRETCH
STRETCH_VALUE
public static final int ALIGN_VALUE
If the meaning of 'Align' literal object isn't clear, there really should be more of a description here...
ALIGN
,
Constant Field Valuespublic static final int STRETCH_VALUE
If the meaning of 'Stretch' literal object isn't clear, there really should be more of a description here...
STRETCH
,
Constant Field Valuespublic static final java.util.List<Method> VALUES
public static Method[] values()
for (Method c : Method.values()) System.out.println(c);
public static Method 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 Method get(java.lang.String literal)
public static Method getByName(java.lang.String name)
public static Method 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<Method>