|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ViewmapLayoutType>
org.eclipse.gmf.codegen.gmfgen.ViewmapLayoutType
public enum ViewmapLayoutType
A representation of the literals of the enumeration 'Viewmap Layout Type', and utility methods for working with them.
GMFGenPackage.getViewmapLayoutType()
Enum Constant Summary | |
---|---|
FLOW_LAYOUT_LITERAL
The 'FLOW LAYOUT' literal object. |
|
TOOLBAR_LAYOUT_LITERAL
The 'TOOLBAR LAYOUT' literal object. |
|
UNKNOWN_LITERAL
The 'UNKNOWN' literal object. |
|
XY_LAYOUT_LITERAL
The 'XY LAYOUT' literal object. |
Field Summary | |
---|---|
static int |
FLOW_LAYOUT
The 'FLOW LAYOUT' literal value. |
static int |
TOOLBAR_LAYOUT
The 'TOOLBAR LAYOUT' literal value. |
static int |
UNKNOWN
The 'UNKNOWN' literal value. |
static List<ViewmapLayoutType> |
VALUES
A public read-only list of all the 'Viewmap Layout Type' enumerators. |
static int |
XY_LAYOUT
The 'XY LAYOUT' literal value. |
Method Summary | |
---|---|
static ViewmapLayoutType |
get(int value)
Returns the 'Viewmap Layout Type' literal with the specified integer value. |
static ViewmapLayoutType |
get(String literal)
Returns the 'Viewmap Layout Type' literal with the specified literal value. |
static ViewmapLayoutType |
getByName(String name)
Returns the 'Viewmap Layout Type' 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 ViewmapLayoutType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ViewmapLayoutType[] |
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 ViewmapLayoutType UNKNOWN_LITERAL
UNKNOWN
public static final ViewmapLayoutType XY_LAYOUT_LITERAL
XY_LAYOUT
public static final ViewmapLayoutType FLOW_LAYOUT_LITERAL
FLOW_LAYOUT
public static final ViewmapLayoutType TOOLBAR_LAYOUT_LITERAL
TOOLBAR_LAYOUT
Field Detail |
---|
public static final int UNKNOWN
If the meaning of 'UNKNOWN' literal object isn't clear, there really should be more of a description here...
UNKNOWN_LITERAL
,
Constant Field Valuespublic static final int XY_LAYOUT
If the meaning of 'XY LAYOUT' literal object isn't clear, there really should be more of a description here...
XY_LAYOUT_LITERAL
,
Constant Field Valuespublic static final int FLOW_LAYOUT
If the meaning of 'FLOW LAYOUT' literal object isn't clear, there really should be more of a description here...
FLOW_LAYOUT_LITERAL
,
Constant Field Valuespublic static final int TOOLBAR_LAYOUT
If the meaning of 'TOOLBAR LAYOUT' literal object isn't clear, there really should be more of a description here...
TOOLBAR_LAYOUT_LITERAL
,
Constant Field Valuespublic static final List<ViewmapLayoutType> VALUES
Method Detail |
---|
public static ViewmapLayoutType[] values()
for (ViewmapLayoutType c : ViewmapLayoutType.values()) System.out.println(c);
public static ViewmapLayoutType 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 ViewmapLayoutType get(String literal)
public static ViewmapLayoutType getByName(String name)
public static ViewmapLayoutType 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<ViewmapLayoutType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |