public enum AllowedGraphType extends java.lang.Enum<AllowedGraphType>
Enum Constant and Description |
---|
BOTH
the user can change the graph type (graph type can be directed or undirected)
|
DIRECTED_ONLY
the user cannot change the graph type (graph type is predefined and directed)
|
UNDIRECTED_ONLY
the user cannot change the graph type (graph type is predefined and undirected)
|
Modifier and Type | Method and Description |
---|---|
static AllowedGraphType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AllowedGraphType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllowedGraphType DIRECTED_ONLY
public static final AllowedGraphType UNDIRECTED_ONLY
public static final AllowedGraphType BOTH
public static AllowedGraphType[] values()
for (AllowedGraphType c : AllowedGraphType.values()) System.out.println(c);
public static AllowedGraphType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null