|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Direction>
org.eclipse.gmf.gmfgraph.Direction
public enum Direction
A representation of the literals of the enumeration 'Direction', and utility methods for working with them. Geographical bit constants from org.eclipse.draw2d.PositionConstants
GMFGraphPackage.getDirection()
Enum Constant Summary | |
---|---|
EAST_LITERAL
The 'EAST' literal object. |
|
EAST_WEST_LITERAL
The 'EAST WEST' literal object. |
|
NONE_LITERAL
The 'NONE' literal object. |
|
NORTH_EAST_LITERAL
The 'NORTH EAST' literal object. |
|
NORTH_LITERAL
The 'NORTH' literal object. |
|
NORTH_SOUTH_LITERAL
The 'NORTH SOUTH' literal object. |
|
NORTH_WEST_LITERAL
The 'NORTH WEST' literal object. |
|
NSEW_LITERAL
The 'NSEW' literal object. |
|
SOUTH_EAST_LITERAL
The 'SOUTH EAST' literal object. |
|
SOUTH_LITERAL
The 'SOUTH' literal object. |
|
SOUTH_WEST_LITERAL
The 'SOUTH WEST' literal object. |
|
WEST_LITERAL
The 'WEST' literal object. |
Field Summary | |
---|---|
static int |
EAST
The 'EAST' literal value. |
static int |
EAST_WEST
The 'EAST WEST' literal value. |
static int |
NONE
The 'NONE' literal value. |
static int |
NORTH
The 'NORTH' literal value. |
static int |
NORTH_EAST
The 'NORTH EAST' literal value. |
static int |
NORTH_SOUTH
The 'NORTH SOUTH' literal value. |
static int |
NORTH_WEST
The 'NORTH WEST' literal value. |
static int |
NSEW
The 'NSEW' literal value. |
static int |
SOUTH
The 'SOUTH' literal value. |
static int |
SOUTH_EAST
The 'SOUTH EAST' literal value. |
static int |
SOUTH_WEST
The 'SOUTH WEST' literal value. |
static List<Direction> |
VALUES
A public read-only list of all the 'Direction' enumerators. |
static int |
WEST
The 'WEST' literal value. |
Method Summary | |
---|---|
static Direction |
get(int value)
Returns the 'Direction' literal with the specified integer value. |
static Direction |
get(String literal)
Returns the 'Direction' literal with the specified literal value. |
static Direction |
getByName(String name)
Returns the 'Direction' 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 Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Direction[] |
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 Direction NONE_LITERAL
NONE
public static final Direction NORTH_LITERAL
NORTH
public static final Direction SOUTH_LITERAL
SOUTH
public static final Direction WEST_LITERAL
WEST
public static final Direction EAST_LITERAL
EAST
public static final Direction NORTH_EAST_LITERAL
NORTH_EAST
public static final Direction NORTH_WEST_LITERAL
NORTH_WEST
public static final Direction SOUTH_EAST_LITERAL
SOUTH_EAST
public static final Direction SOUTH_WEST_LITERAL
SOUTH_WEST
public static final Direction NORTH_SOUTH_LITERAL
NORTH_SOUTH
public static final Direction EAST_WEST_LITERAL
EAST_WEST
public static final Direction NSEW_LITERAL
NSEW
Field Detail |
---|
public static final int NONE
If the meaning of 'NONE' literal object isn't clear, there really should be more of a description here...
NONE_LITERAL
,
Constant Field Valuespublic static final int NORTH
If the meaning of 'NORTH' literal object isn't clear, there really should be more of a description here...
NORTH_LITERAL
,
Constant Field Valuespublic static final int SOUTH
If the meaning of 'SOUTH' literal object isn't clear, there really should be more of a description here...
SOUTH_LITERAL
,
Constant Field Valuespublic static final int WEST
If the meaning of 'WEST' literal object isn't clear, there really should be more of a description here...
WEST_LITERAL
,
Constant Field Valuespublic static final int EAST
If the meaning of 'EAST' literal object isn't clear, there really should be more of a description here...
EAST_LITERAL
,
Constant Field Valuespublic static final int NORTH_EAST
If the meaning of 'NORTH EAST' literal object isn't clear, there really should be more of a description here...
NORTH_EAST_LITERAL
,
Constant Field Valuespublic static final int NORTH_WEST
If the meaning of 'NORTH WEST' literal object isn't clear, there really should be more of a description here...
NORTH_WEST_LITERAL
,
Constant Field Valuespublic static final int SOUTH_EAST
If the meaning of 'SOUTH EAST' literal object isn't clear, there really should be more of a description here...
SOUTH_EAST_LITERAL
,
Constant Field Valuespublic static final int SOUTH_WEST
If the meaning of 'SOUTH WEST' literal object isn't clear, there really should be more of a description here...
SOUTH_WEST_LITERAL
,
Constant Field Valuespublic static final int NORTH_SOUTH
If the meaning of 'NORTH SOUTH' literal object isn't clear, there really should be more of a description here...
NORTH_SOUTH_LITERAL
,
Constant Field Valuespublic static final int EAST_WEST
If the meaning of 'EAST WEST' literal object isn't clear, there really should be more of a description here...
EAST_WEST_LITERAL
,
Constant Field Valuespublic static final int NSEW
If the meaning of 'NSEW' literal object isn't clear, there really should be more of a description here...
NSEW_LITERAL
,
Constant Field Valuespublic static final List<Direction> VALUES
Method Detail |
---|
public static Direction[] values()
for (Direction c : Direction.values()) System.out.println(c);
public static Direction 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 Direction get(String literal)
public static Direction getByName(String name)
public static Direction 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<Direction>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |