|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Orientation>
org.eclipse.graphiti.mm.algorithms.styles.Orientation
public enum Orientation
A representation of the literals of the enumeration 'Orientation', and utility methods for working with them.
StylesPackage.getOrientation()
Enum Constant Summary | |
---|---|
ALIGNMENT_BOTTOM
The 'ALIGNMENT BOTTOM' literal object. |
|
ALIGNMENT_CENTER
The 'ALIGNMENT CENTER' literal object. |
|
ALIGNMENT_LEFT
The 'ALIGNMENT LEFT' literal object. |
|
ALIGNMENT_MIDDLE
The 'ALIGNMENT MIDDLE' literal object. |
|
ALIGNMENT_RIGHT
The 'ALIGNMENT RIGHT' literal object. |
|
ALIGNMENT_TOP
The 'ALIGNMENT TOP' literal object. |
|
UNSPECIFIED
The 'UNSPECIFIED' literal object. |
Field Summary | |
---|---|
static int |
ALIGNMENT_BOTTOM_VALUE
The 'ALIGNMENT BOTTOM' literal value. |
static int |
ALIGNMENT_CENTER_VALUE
The 'ALIGNMENT CENTER' literal value. |
static int |
ALIGNMENT_LEFT_VALUE
The 'ALIGNMENT LEFT' literal value. |
static int |
ALIGNMENT_MIDDLE_VALUE
The 'ALIGNMENT MIDDLE' literal value. |
static int |
ALIGNMENT_RIGHT_VALUE
The 'ALIGNMENT RIGHT' literal value. |
static int |
ALIGNMENT_TOP_VALUE
The 'ALIGNMENT TOP' literal value. |
private String |
literal
|
private String |
name
|
static int |
UNSPECIFIED_VALUE
The 'UNSPECIFIED' literal value. |
private int |
value
|
static List<Orientation> |
VALUES
A public read-only list of all the 'Orientation' enumerators. |
private static Orientation[] |
VALUES_ARRAY
An array of all the 'Orientation' enumerators. |
Method Summary | |
---|---|
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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Orientation ALIGNMENT_CENTER
ALIGNMENT_CENTER_VALUE
public static final Orientation ALIGNMENT_LEFT
ALIGNMENT_LEFT_VALUE
public static final Orientation ALIGNMENT_TOP
ALIGNMENT_TOP_VALUE
public static final Orientation ALIGNMENT_RIGHT
ALIGNMENT_RIGHT_VALUE
public static final Orientation ALIGNMENT_BOTTOM
ALIGNMENT_BOTTOM_VALUE
public static final Orientation ALIGNMENT_MIDDLE
ALIGNMENT_MIDDLE_VALUE
public static final Orientation UNSPECIFIED
UNSPECIFIED_VALUE
Field Detail |
---|
public static final int ALIGNMENT_CENTER_VALUE
If the meaning of 'ALIGNMENT CENTER' literal object isn't clear, there really should be more of a description here...
ALIGNMENT_CENTER
,
Constant Field Valuespublic static final int ALIGNMENT_LEFT_VALUE
If the meaning of 'ALIGNMENT LEFT' literal object isn't clear, there really should be more of a description here...
ALIGNMENT_LEFT
,
Constant Field Valuespublic static final int ALIGNMENT_TOP_VALUE
If the meaning of 'ALIGNMENT TOP' literal object isn't clear, there really should be more of a description here...
ALIGNMENT_TOP
,
Constant Field Valuespublic static final int ALIGNMENT_RIGHT_VALUE
If the meaning of 'ALIGNMENT RIGHT' literal object isn't clear, there really should be more of a description here...
ALIGNMENT_RIGHT
,
Constant Field Valuespublic static final int ALIGNMENT_BOTTOM_VALUE
If the meaning of 'ALIGNMENT BOTTOM' literal object isn't clear, there really should be more of a description here...
ALIGNMENT_BOTTOM
,
Constant Field Valuespublic static final int ALIGNMENT_MIDDLE_VALUE
If the meaning of 'ALIGNMENT MIDDLE' literal object isn't clear, there really should be more of a description here...
ALIGNMENT_MIDDLE
,
Constant Field Valuespublic static final int UNSPECIFIED_VALUE
If the meaning of 'UNSPECIFIED' literal object isn't clear, there really should be more of a description here...
UNSPECIFIED
,
Constant Field Valuesprivate static final Orientation[] VALUES_ARRAY
public static final List<Orientation> VALUES
private final int value
private final String name
private final String literal
Method Detail |
---|
public static final 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 namepublic static Orientation get(String literal)
public static Orientation getByName(String name)
public static Orientation get(int value)
public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<Orientation>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |