|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<GraphEdgedefaultType>
org.graphdrawing.graphml.GraphEdgedefaultType
public enum GraphEdgedefaultType
A representation of the literals of the enumeration 'Graph Edgedefault Type', and utility methods for working with them. Simple type for the edgedefault attribute of <graph>. graph.edgedefault.type is a restriction of xs:NMTOKEN Allowed values: directed, undirected.
GraphMLPackage.getGraphEdgedefaultType()
extendedMetaData | = | name='graph.edgedefault.type' |
Enum Constant Summary | |
---|---|
DIRECTED
The 'Directed' literal object. |
|
UNDIRECTED
The 'Undirected' literal object. |
Field Summary | |
---|---|
static int |
DIRECTED_VALUE
The 'Directed' literal value. |
static int |
UNDIRECTED_VALUE
The 'Undirected' literal value. |
static List<GraphEdgedefaultType> |
VALUES
A public read-only list of all the 'Graph Edgedefault Type' enumerators. |
Method Summary | |
---|---|
static GraphEdgedefaultType |
get(int value)
Returns the 'Graph Edgedefault Type' literal with the specified integer value. |
static GraphEdgedefaultType |
get(String literal)
Returns the 'Graph Edgedefault Type' literal with the specified literal value. |
static GraphEdgedefaultType |
getByName(String name)
Returns the 'Graph Edgedefault 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 GraphEdgedefaultType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GraphEdgedefaultType[] |
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 GraphEdgedefaultType DIRECTED
DIRECTED_VALUE
public static final GraphEdgedefaultType UNDIRECTED
UNDIRECTED_VALUE
Field Detail |
---|
public static final int DIRECTED_VALUE
If the meaning of 'Directed' literal object isn't clear, there really should be more of a description here...
DIRECTED
,
Constant Field Valuesname | = | directed |
public static final int UNDIRECTED_VALUE
If the meaning of 'Undirected' literal object isn't clear, there really should be more of a description here...
UNDIRECTED
,
Constant Field Valuesname | = | undirected |
public static final List<GraphEdgedefaultType> VALUES
Method Detail |
---|
public static GraphEdgedefaultType[] values()
for (GraphEdgedefaultType c : GraphEdgedefaultType.values()) System.out.println(c);
public static GraphEdgedefaultType 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 GraphEdgedefaultType get(String literal)
public static GraphEdgedefaultType getByName(String name)
public static GraphEdgedefaultType 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<GraphEdgedefaultType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |