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