public enum Orientation extends Enum<Orientation> implements org.eclipse.emf.common.util.Enumerator
VisualInterfacePackage.getOrientation()
Enum Constant and Description |
---|
EAST
The 'EAST' literal object.
|
NORTH
The 'NORTH' literal object.
|
SOUTH
The 'SOUTH' literal object.
|
WEST
The 'WEST' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
EAST_VALUE
The 'EAST' literal value.
|
static int |
NORTH_VALUE
The 'NORTH' literal value.
|
static int |
SOUTH_VALUE
The 'SOUTH' literal value.
|
static List<Orientation> |
VALUES
A public read-only list of all the 'Orientation' enumerators.
|
static int |
WEST_VALUE
The 'WEST' literal value.
|
Modifier and Type | Method and Description |
---|---|
static Orientation |
get(int value)
Returns the 'Orientation' literal with the specified integer value.
|
static Orientation |
get(String literal)
Returns the 'Orientation' literal with the specified literal value.
|
static Orientation |
getByName(String name)
Returns the 'Orientation' 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 Orientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Orientation NORTH
NORTH_VALUE
public static final Orientation SOUTH
SOUTH_VALUE
public static final Orientation EAST
EAST_VALUE
public static final Orientation WEST
WEST_VALUE
public static final int NORTH_VALUE
If the meaning of 'NORTH' literal object isn't clear, there really should be more of a description here...
NORTH
,
Constant Field Valuespublic static final int SOUTH_VALUE
If the meaning of 'SOUTH' literal object isn't clear, there really should be more of a description here...
SOUTH
,
Constant Field Valuespublic static final int EAST_VALUE
If the meaning of 'EAST' literal object isn't clear, there really should be more of a description here...
EAST
,
Constant Field Valuespublic static final int WEST_VALUE
If the meaning of 'WEST' literal object isn't clear, there really should be more of a description here...
WEST
,
Constant Field Valuespublic static final List<Orientation> VALUES
public static Orientation[] values()
for (Orientation c : Orientation.values()) System.out.println(c);
public static Orientation 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 Orientation get(String literal)
public static Orientation getByName(String name)
public static Orientation 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<Orientation>
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.