static enum Diagram.Command extends Enum<Diagram.Command>
Enum Constant and Description |
---|
ELSE
Else.
|
ELSE_IF
Else if.
|
END_IF
End if.
|
ICON
Icon (bus, bicycle symbol).
|
IF
If.
|
NO_OP
No operation.
|
STOP_LINE
Stop line.
|
STOP_LINE_AND_ICON
Stop line AND icon.
|
Modifier and Type | Method and Description |
---|---|
static Diagram.Command |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Diagram.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Diagram.Command NO_OP
public static final Diagram.Command IF
public static final Diagram.Command ELSE
public static final Diagram.Command ELSE_IF
public static final Diagram.Command END_IF
public static final Diagram.Command STOP_LINE
public static final Diagram.Command ICON
public static final Diagram.Command STOP_LINE_AND_ICON
public static Diagram.Command[] values()
for (Diagram.Command c : Diagram.Command.values()) System.out.println(c);
public static Diagram.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 nameNullPointerException
- if the argument is nullCopyright © 2014–2017 Delft University of Technology. All rights reserved.