|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Command>
de.cau.cs.kieler.kiml.graphviz.dot.transform.Command
public enum Command
Definition of available Graphviz commands.
Enum Constant Summary | |
---|---|
CIRCO
command for Circo layout. |
|
DOT
command for Dot layout. |
|
FDP
command for Fdp layout. |
|
INVALID
invalid command. |
|
NEATO
command for Neato layout. |
|
TWOPI
command for Twopi layout. |
Method Summary | |
---|---|
static Command |
parse(String string)
Parse the given string into a command, ignoring case. |
String |
toString()
|
static Command |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Command[] |
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 Command INVALID
public static final Command DOT
public static final Command NEATO
public static final Command TWOPI
public static final Command FDP
public static final Command CIRCO
Method Detail |
---|
public static Command[] values()
for (Command c : Command.values()) System.out.println(c);
public static Command 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 Command parse(String string)
string
- a string
INVALID
if the string
does not hold a valid commandpublic String toString()
toString
in class Enum<Command>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |