public static enum Diagram.State extends java.lang.Enum<Diagram.State>
Enum Constant and Description |
---|
AUTOMATIC
The diagram is in automatic mode, it is fully rearranged after every operation.
|
DEFAULT
The normal diagram state, the diagrams correctness is ensured.
|
MANUAL
The diagram is in manual mode, only line connection and rectangle nesting is maintained.
|
TRANSACTION
The diagram is in transaction mode, similar operations are stored and performed together.
|
Modifier and Type | Method and Description |
---|---|
static Diagram.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Diagram.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Diagram.State DEFAULT
public static final Diagram.State TRANSACTION
public static final Diagram.State MANUAL
public static final Diagram.State AUTOMATIC
public static Diagram.State[] values()
for (Diagram.State c : Diagram.State.values()) System.out.println(c);
public static Diagram.State 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