|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Alignment>
org.eclipse.gmf.gmfgraph.Alignment
public enum Alignment
A representation of the literals of the enumeration 'Alignment', and utility methods for working with them.
GMFGraphPackage.getAlignment()
Enum Constant Summary | |
---|---|
BEGINNING_LITERAL
The 'BEGINNING' literal object. |
|
CENTER_LITERAL
The 'CENTER' literal object. |
|
END_LITERAL
The 'END' literal object. |
|
FILL_LITERAL
The 'FILL' literal object. |
Field Summary | |
---|---|
static int |
BEGINNING
The 'BEGINNING' literal value. |
static int |
CENTER
The 'CENTER' literal value. |
static int |
END
The 'END' literal value. |
static int |
FILL
The 'FILL' literal value. |
static List<Alignment> |
VALUES
A public read-only list of all the 'Alignment' enumerators. |
Method Summary | |
---|---|
static Alignment |
get(int value)
Returns the 'Alignment' literal with the specified integer value. |
static Alignment |
get(String literal)
Returns the 'Alignment' literal with the specified literal value. |
static Alignment |
getByName(String name)
Returns the 'Alignment' 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 Alignment |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Alignment[] |
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 Alignment BEGINNING_LITERAL
BEGINNING
public static final Alignment CENTER_LITERAL
CENTER
public static final Alignment END_LITERAL
END
public static final Alignment FILL_LITERAL
FILL
Field Detail |
---|
public static final int BEGINNING
If the meaning of 'BEGINNING' literal object isn't clear, there really should be more of a description here...
BEGINNING_LITERAL
,
Constant Field Valuespublic static final int CENTER
If the meaning of 'CENTER' literal object isn't clear, there really should be more of a description here...
CENTER_LITERAL
,
Constant Field Valuespublic static final int END
If the meaning of 'END' literal object isn't clear, there really should be more of a description here...
END_LITERAL
,
Constant Field Valuespublic static final int FILL
If the meaning of 'FILL' literal object isn't clear, there really should be more of a description here...
FILL_LITERAL
,
Constant Field Valuespublic static final List<Alignment> VALUES
Method Detail |
---|
public static Alignment[] values()
for (Alignment c : Alignment.values()) System.out.println(c);
public static Alignment 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 Alignment get(String literal)
public static Alignment getByName(String name)
public static Alignment 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<Alignment>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |