|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<GraphType>
de.cau.cs.kieler.kiml.graphviz.dot.GraphType
public enum GraphType
A representation of the literals of the enumeration 'Graph Type', and utility methods for working with them.
DotPackage.getGraphType()
Enum Constant Summary | |
---|---|
DIGRAPH
The 'Digraph' literal object. |
|
GRAPH
The 'Graph' literal object. |
Field Summary | |
---|---|
static int |
DIGRAPH_VALUE
The 'Digraph' literal value. |
static int |
GRAPH_VALUE
The 'Graph' literal value. |
static List<GraphType> |
VALUES
A public read-only list of all the 'Graph Type' enumerators. |
Method Summary | |
---|---|
static GraphType |
get(int value)
Returns the 'Graph Type' literal with the specified integer value. |
static GraphType |
get(String literal)
Returns the 'Graph Type' literal with the specified literal value. |
static GraphType |
getByName(String name)
Returns the 'Graph 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 GraphType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GraphType[] |
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 GraphType GRAPH
GRAPH_VALUE
public static final GraphType DIGRAPH
DIGRAPH_VALUE
Field Detail |
---|
public static final int GRAPH_VALUE
If the meaning of 'Graph' literal object isn't clear, there really should be more of a description here...
GRAPH
,
Constant Field Valuesname | = | graph |
public static final int DIGRAPH_VALUE
If the meaning of 'Digraph' literal object isn't clear, there really should be more of a description here...
DIGRAPH
,
Constant Field Valuesname | = | digraph |
public static final List<GraphType> VALUES
Method Detail |
---|
public static GraphType[] values()
for (GraphType c : GraphType.values()) System.out.println(c);
public static GraphType 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 GraphType get(String literal)
public static GraphType getByName(String name)
public static GraphType get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<GraphType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |