public enum Gradient extends Enum<Gradient> implements org.eclipse.emf.common.util.Enumerator
PnmlcoremodelPackage.getGradient()
Enum Constant and Description |
---|
DIAGONAL
The 'DIAGONAL' literal object
|
HORIZONTAL
The 'HORIZONTAL' literal object
|
VERTICAL
The 'VERTICAL' literal object
|
Modifier and Type | Field and Description |
---|---|
static int |
DIAGONAL_VALUE
The 'DIAGONAL' literal value
|
static int |
HORIZONTAL_VALUE
The 'HORIZONTAL' literal value
|
static List<Gradient> |
VALUES
A public read-only list of all the 'Gradient' enumerators
|
static int |
VERTICAL_VALUE
The 'VERTICAL' literal value
|
Modifier and Type | Method and Description |
---|---|
static Gradient |
get(int value)
Returns the 'Gradient' literal with the specified integer value
|
static Gradient |
get(String literal)
Returns the 'Gradient' literal with the specified literal value
|
static Gradient |
getByName(String name)
Returns the 'Gradient' 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 Gradient |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Gradient[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Gradient HORIZONTAL
HORIZONTAL_VALUE
public static final Gradient VERTICAL
VERTICAL_VALUE
public static final Gradient DIAGONAL
DIAGONAL_VALUE
public static final int HORIZONTAL_VALUE
If the meaning of 'HORIZONTAL' literal object isn't clear, there really should be more of a description here...
HORIZONTAL
,
Constant Field Valuespublic static final int VERTICAL_VALUE
If the meaning of 'VERTICAL' literal object isn't clear, there really should be more of a description here...
VERTICAL
,
Constant Field Valuespublic static final int DIAGONAL_VALUE
If the meaning of 'DIAGONAL' literal object isn't clear, there really should be more of a description here...
DIAGONAL
,
Constant Field Valuespublic static Gradient[] values()
for (Gradient c : Gradient.values()) System.out.println(c);
public static Gradient valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Gradient get(String literal)
public static Gradient getByName(String name)
public static Gradient 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
Copyright © 2009–2016 Univ. Paris Ouest, and Univ. Pierre et Marie Curie / CNRS UMR 7606 (LIP6). All rights reserved.